Going to ask a really dumb question here. How exactly do i use the world.DoAfter function? Can I use it straight from the trigger or alias configuration or do I have to set up a script? If I have to set up a script how do I go about doing that and then how do I call on it using a trigger or alias? I realise this is pretty basic stuff but still trying to get to grips with MUSHclient.
LindZ
Things like world.DoAfter (in fact, world.anything) are designed to be used from scripts only.
Say you needed to cast a spell, but needed to wait a few seconds between each phase, you could make an alias that called a short script, like this:
sub CastSpell (name, line, wildcards)
world.send "prepare heal"
world.doafter 3, "cast heal"
world.doafter 5, "prepare calm"
world.doafter 8, "cast calm"
end sub
In each case the number if the number of seconds from now, so you are talking about doing "prepare heal" immediately, waiting 3 seconds, doing "cast heal", waiting 2 seconds, doing "prepare calm", waiting another 3 seconds and then "cast calm".