Time Limit On Command
#1

I have a welfare command made. /welfare... The people on welfare go to city hall and do /welfare [Password] to get there welfare check.

My question is there a way to put a time limit on that command to where they can't keep doing it.
Reply
#2

I've got this question too How to limit a command with a timer...
Reply
#3

You can use a timer to get this done, just set a timer and when it goes off, allow them to use the command again... For example, let's example a simple varible called welfare. When the command is executed, check to see if the welfare varible is 0, if it is, give them the paycheck and change the welfare varible to 1, then also call a timer for the desired amount of time which that timer will set the welfare varible back to 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)