Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

[Feature] custom increment function #20

Closed
Pagwin-Fedora opened this issue Nov 22, 2020 · 3 comments
Closed

[Feature] custom increment function #20

Pagwin-Fedora opened this issue Nov 22, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Pagwin-Fedora
Copy link

I was thinking it'd be cool if admins on a server could set a custom increment function where you specify an equation that determines the next value that a user should send in the counting channel, for example c?increment f(x)=(x^(1/2)+1)^2 would have it so the values the users have to put in are 1, 4, 9, 16, 25, 36, ect. where x is the previous value output from the equation and the first value put in as x(before the first user provides a number) is 0

@GalaxySH GalaxySH added the enhancement New feature or request label Nov 22, 2020
@GalaxySH GalaxySH pinned this issue Dec 29, 2020
@GalaxySH
Copy link
Owner

GalaxySH commented Jan 3, 2021

I am not sure how to proceed on this.

@mchrisgm-backup
Copy link

where would the function be displayed for the users to know which value comes next?

@Pagwin-Fedora
Copy link
Author

where would the function be displayed for the users to know which value comes next?

@mchrisgm c?next would be used to find the next value and if a user wants to know the increment function you could probably output it if you do something like c?increment without any arguments or maybe use a different command to display the increment function like c?displayinc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants