Page 1 of 1
Trigger that waits a amount of time before moving along the
Posted: Sat Mar 10, 2012 9:05 pm
by ella
ok, so lets say I walk through a door, it says something like "You walk through the door!" and I want to wait five seconds for my friends to come through then close the door.
Re: Trigger that waits a amount of time before moving along
Posted: Sat Mar 10, 2012 10:12 pm
by Sheia
Create an "exact match" trigger for "You walk through the door!" and put the following code in it:
tempTimer( 5, [[send("close door")]])
Naturally you may change the sent command to whatever you need "close door west" or some such.
The wiki has more info on Timers:
http://wiki.mudlet.org/w/Manual:Lua_Functions#tempTimer