Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: aaron on September 03, 2013, 08:07:36 AM

Title: Can only use command on themself and can only use it once every 30 minutes
Post by: aaron on September 03, 2013, 08:07:36 AM
Hey, I have a forceswap command created that I would like to give to donators but with the restrictions that they can only use the command on them self and depending on what level donator they are, they can only use once every 20, 40, 60 minutes.

How would I go around doing this?
Title: Re: Can only use command on themself and can only use it once every 30 minutes
Post by: kklouzal on September 03, 2013, 09:27:45 AM
Make sure the target for the command is only themselves. When they use the command store the player in a table and create a timer to remove the player from the table after the time specified?
Title: Re: Can only use command on themself and can only use it once every 30 minutes
Post by: JamminR on September 03, 2013, 03:13:13 PM
ULX has no restrictions on how often a command can be run, only on what groups.
You'll need to add the time tracking within your own code.