Hi, i am completely new to scripts and i wanted to make a script delay before the trigger sends off multiple commands.
Reading the forum i have found out that i can make the trigger "send to script" and someone else posted the script line to make it have a random delay.
DoAfter(math.random(0.5),"daze attacker")
This works like a charm, however i cannot figure out how to add multiple commands to that line.
I want it to send 4-5 commands to the mud on the trigger after the random delay, so something like this?:
DoAfter(math.random(0.5),"daze attacker"/"knockdown attacker"/"kill attacker")
I simply cannot figure out how to make that work :P
Hope you can help me :)
Reading the forum i have found out that i can make the trigger "send to script" and someone else posted the script line to make it have a random delay.
DoAfter(math.random(0.5),"daze attacker")
This works like a charm, however i cannot figure out how to add multiple commands to that line.
I want it to send 4-5 commands to the mud on the trigger after the random delay, so something like this?:
DoAfter(math.random(0.5),"daze attacker"/"knockdown attacker"/"kill attacker")
I simply cannot figure out how to make that work :P
Hope you can help me :)