Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
GDurron
Newbie


Joined: 28 Jan 2015
Posts: 1

PostPosted: Mon Feb 16, 2015 8:09 am   

Anti Idle trigger
 
i seen some post around asking for something similar to this
it monitors when you send commands to the mud and when you have went 4 mins 5 secs
with out sending commands(including triggers) it will send a %CR
to keep you from going idle


#CLASS {AntiAFK}
#VAR afktimer {3247}
#VAR checktime {3492}
#ONINPUT {(*)} {
#VARIABLE afktimer %ctime
#MATH checktime (@afktimer+245)
#ALARM "antiafk" {+245} {
#IF (%ctime=@checktime) {
#SHOW Anti Disconnect.
%cr
}
} {AntiAFK}
} "" {notrig}
#ALARM "antiafk" {+245} {
#IF (%ctime=@checktime) {
#SHOW Anti Disconnect.
%cr
}
}
#CLASS 0
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net