Hey what's up, in ZMud there's a command called
#WAIT, or #WA and what it does is "pauses" the alias or macro that it's in by the number following it, for instance
if I had an alias called k, and it would do
kill person
#wa 5000
kill nonperson
it would send kill person, wait 5 seconds, and then send kill nonperson to the mud
for my mud, I'm trying to script an auto-milking script, (so I can milk venoms into vials, heh..) Anyway
Here's my first trigger,
Trig: You have recovered balance on all limbs.
Script: Auto_Milk
Sub Auto_Milk (a,b,c)
varVenom = World.GetVariable("Venom")
world.send "milk venom into vial"
'<---- Here I need a 2 second Wait, or Timeout if you will
world.send "secrete " & varVenom
End sub
I tried making a sub like I would in VB, but I pretty much just copied my Timeout sub from one of my VB Programs and tried to convert it to MUSHClient's VBScript, heh
Sub timeout (a,b,duration)
starttime = Timer
Do While Timer - starttime < duration
x = DoEvents()
Loop
End Sub
but apparently that doesn't work, heh
help! :P
|