Is there anyway when certain text is matched it starts a timer? Or vise versa? Like when "You have been killed" it starts a timer for 30min then when that 30min is up, it displays a comment?
Triggers+Timers
Posted by Zeno on Thu 23 Jan 2003 11:51 PM — 6 posts, 17,635 views.
Have the trigger that matches the text "You have been killed" call a small script subroutine, like this:
sub OnKilled (name, output, wildcards)
world.DoAfter 30 * 60, "say blah blah"
end sub
The call "world.DoAfter" sends some text after x seconds, so saying 30 * 60 would be after 30 minutes (or you could just replace that with 1800 seconds).
sub OnKilled (name, output, wildcards)
world.DoAfter 30 * 60, "say blah blah"
end sub
The call "world.DoAfter" sends some text after x seconds, so saying 30 * 60 would be after 30 minutes (or you could just replace that with 1800 seconds).
Instead of sending to world, how would I make it sends to output?
See DoAfterNote
ok, thanks. Errr, how would I see how much time is left in a timer?
See GetTimerInfo, selector 13.