ID:269838
Oct 24 2005, 11:34 am
|
|
Ok, here is what i want, i want a time system, for example if i mute someone for 2 mins and they log out leaving 1 min behind. And when they log in back they still have to do that 1 min to mute left. Please and thanks you
|
mob/var/MuteTime=0 //Set a variable for the Mute time I'll have you figure out the rest, and how to execute the proc. ;) |
In response to Mega fart cannon
|
|
You should do it by key and IP.
|
In response to Rky_nick
|
|
Show code in DM tags:
<DM> *code* </DM> And do html such as bold and italics using actual html. |
In response to DeathAwaitsU
|
|
var notes on all say and wsay verbs ect add a check if(!muted) you will also want to save and load these vars muted_keys muted_ips muted_timer this is unchecked and untested ^_^ have fun. |
In response to Zmadpeter
|
|
I don't know but, your way just seems too extensive... It'd be much easier to use a single list utilizing the associative properties.
#define SECOND 10 //one second |
anyways try this
sleep(10)
usr.second + 1
if(usr.second == 60)