Unknown2010-09-12 09:54:58
So I had this great idea, to warn people for when I go afk. If I don't put forth any input for a certain amount of time, then my system would automatically emote my character drifting off to sleep/hibernation. The thing is, how can I make something tirgger off of any input? Is it possible? O_o
Vadi2010-09-12 14:14:59
One of the easiest ways for you would be probably to make use of the timeout warning to do your emote.
Lehki2010-09-12 16:46:45
What Vadi said. But probably want the trigger to disable itself after the first time so that eventually you will get AFK'd out of the game.
Unknown2010-09-12 22:07:36
Hmm, those are both good ideas Thanks!
Unknown2010-09-13 06:13:00
QUOTE (code)
if timeout == 1 then
send("emote 's head begins to loll slowly to the left, then the right, then slumps slightly downward and his eyes gently close.")
timeout = 2
elseif timeout == 2 then
send("emote snores softly.")
timeout = 3
elseif timeout == 3 then
send("snore")
timeout = 4
end
send("emote 's head begins to loll slowly to the left, then the right, then slumps slightly downward and his eyes gently close.")
timeout = 2
elseif timeout == 2 then
send("emote snores softly.")
timeout = 3
elseif timeout == 3 then
send("snore")
timeout = 4
end
Vadi2010-09-13 12:21:03
Yeah just remember to set timeout to 1 to begin with somewhere appropriate!
Unknown2010-10-04 12:35:27
QUOTE (Jello @ Sep 12 2010, 06:54 AM) <{POST_SNAPBACK}>
So I had this great idea, to warn people for when I go afk. If I don't put forth any input for a certain amount of time, then my system would automatically emote my character drifting off to sleep/hibernation. The thing is, how can I make something tirgger off of any input? Is it possible? O_o
Made one for mushclient before it crashed and I had to recode my latest changes.