Input Triggers

by Sylphas

Back to Mechanic's Corner.

Unknown2005-07-10 08:24:26
Um Dag, if you just want an alias or macro that places one random jab and one random swing, why don't you just put all jab commands into one string list, swings into a second one, and make an alias that picks two random items from that list?
zaeruche2009-04-05 00:34:58
Hi, I know this is probably a really basic question but I'm having a lot of troubles with it. I recently started a monk character and I'm having problems performing my katas. I have the kata's setup right and my targetting system is fine but I can't figure out why the alias for performing the kata on a target won't work! I use MUSH by the way.

my alias is zz and it is supposed to KATA PERFORM @TARGET PVM1 PVM2 where pvm1 and 2 are the kata's I've made. When I hit zz the output on the window is kata perform rat (i targetted rat) on one line then the next line is pvm1 pvm2. Then I get the kata syntax.

Why is it coming out in two different lines and why won't it work? Please help!
Esano2009-04-05 00:38:18
This probably belongs in the Mushclient questions thread. But it looks like your target includes a newline. Fix up your targetting alias to use regex (if it's not) and use ^ and $ to anchor the line.
zaeruche2009-04-05 00:54:01
I'm not sure how to use regex or even what it is....how would I set up my targeting alias to not put a newline? right not it's just

ta * is the alias and %1 is in the command
Esano2009-04-05 01:32:01
Just click the 'convert to regex' button below the pattern box. That should fix it.