Alright, here i am again, always asking questions, but... this time... its not important. hah jk, anyways, here is the problem, I want to cast a spell, then 2 seconds later, cast it again if I am still in a fight, so I figure, Make a variable contain "on" so if the variable is on, then I continue casting, but if the mob dies, then the variable is set to "off" that way... it stops casting... here is the alias for "shocking grasp"
grasp = world.getVariable("shockinggrasp")
world.setVariable "fight", "on"
fight = world.getVariable("fight")
if fight="on" then
world.send grasp & " %1"
world.DoAfter 1, sg & "%1"
end if
ok here is the problem, how do I send lets say the alias "sg *" again? I tried at the "world.doAfter" but it only sends the %1 expanded... how do I execute the alias? and I just noticed another problem with my script, but I can do that... Thanks for any help!
grasp = world.getVariable("shockinggrasp")
world.setVariable "fight", "on"
fight = world.getVariable("fight")
if fight="on" then
world.send grasp & " %1"
world.DoAfter 1, sg & "%1"
end if
ok here is the problem, how do I send lets say the alias "sg *" again? I tried at the "world.doAfter" but it only sends the %1 expanded... how do I execute the alias? and I just noticed another problem with my script, but I can do that... Thanks for any help!