|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Fri Nov 13, 2009 8:14 pm
Idle Flag, Action Flag |
is there a way to tap into the idle flag
the thing on the tabs tells you that theres new data in that window, does a lil green bubble me's thinks or
is there a way you can trigger idleness?
if no triggers fired "out to mud" mud, no actions inputed in, for 45 seconds do this?
#waitfor {zmud action} 45000 {quit} {sleep} |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Sat Nov 14, 2009 1:34 am |
#IF {No Class Activity\mud activity} {quit}
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 14, 2009 5:42 am |
You could make one.
#trigger {*} {#call %alarm(talmIdle,45000)}
#alarm "talmIdle" {-45} {#sendraw quit} |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Sat Nov 14, 2009 5:47 am |
thanks matt, can you explain what this is doing for me so I can understand it for future use?
Ive never used %alarm or send or #sendraw before.... |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 14, 2009 6:04 am |
The - represents the connection timer, so when you quit this alarm will stop working instead of continuously firing every 45 seconds. In your case, you want it to fire at 45 seconds.
#SENDRAW sends stuff directly to the game. It doesn't go through any parser, and it's not echoed back on the screen.
%alarm is used to report the time remaining until the named alarm fires again; it can also be used to assign a new value to count down from. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|