[MudWalker] MudWalker Triggers
Kevin Reid
kpreid at mac.com
Mon Jan 12 12:02:59 PST 2009
On Jan 6, 2009, at 13:11, moondragon at gmx.at wrote:
> Okay, I'm back to using MudWalker as my old client somehow isn't
> working for me anymore since I upgraded to Leopard.
>
> What I need to know now is how to set up simple triggers, e.g.
>
> You receive 1234 expericence points with 1234 being the variable.
> Action: get all.coins corpse
>
> In my old client I used (.*) for the variable in the trigger
This is the same (though you might want (\d+), to match at least one
digit rather than any text).
> Action: Split 1234 coins (in my old client I used %%1 for the
> variable in the script)
You write instead:
split $$arg[1] coins
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the MudWalker
mailing list