I'm trying to make an alias that will allow me to do one thing to a variable, then do another thing a few seconds later, and another thing a few seconds after that. This is what I've got so far:
pattern: ^hunt (.+)$
send("outr 3 yellowink")
send("outr 1 purpleink")
send("outr 1 greenink")
send("sketch berkana on "..matches[2])
tempTimer ( 1.5, [[send("sketch algiz on "..matches[2])]] )
tempTimer ( 3.0, [[send("sketch jera on "..matches[2])]] )
The first sketch command fires fine, the second and third don't. I've also tried doing "..matches[2]")]], "..matches[2]..")]] - for whatever reason I cannot get the variables to play nicely with TempTimer. Any help would be appreciated, thanks!
TempTimer with variables
Re: TempTimer with variables
http://wiki.mudlet.org/w/Manual:Timer_E ... _variables answers your question
Re: TempTimer with variables
Thank you! I've run through the manual in the past but I must have missed that part. You're a lifesaver.