Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: allofmywutsteam on May 31, 2015, 10:25:58 AM

Title: Time restrictions on voting commands (or commands in general)
Post by: allofmywutsteam on May 31, 2015, 10:25:58 AM
Is there a way to add time restrictions on when commands can be used?

Similar to how you can restrict ban times and reasons, I'm looking for a way to add a timer to restrict voting commands to every 5 minutes or something.
Title: Re: Time restrictions on voting commands (or commands in general)
Post by: XxLMM13xX on May 31, 2015, 04:30:47 PM
i was thinking about this the other day i might make this!
Title: Re: Time restrictions on voting commands (or commands in general)
Post by: Caustic Soda-Senpai on May 31, 2015, 04:32:16 PM
You can add a timer for like 5 minutes at the end of the voting function. Then, at the start of the vote, add an if statement to check if said timer is running. If it is, deny the vote.
Title: Re: Time restrictions on voting commands (or commands in general)
Post by: allofmywutsteam on May 31, 2015, 04:47:46 PM
i was thinking about this the other day i might make this!

Please do. I would myself, but I don't really code.