|
Caman Newbie
Joined: 20 Mar 2009 Posts: 9
|
Posted: Sat Mar 21, 2009 7:58 am
Alias working Diff than Zmud, help |
I make a Alias in Zmud and Cmud "hm" to do 2 comands. I run some triggers to copy a Chain of Commands that appear in the screen
Example : Combination! ~( (%w) (%w) (%w) ~) is the pattern and the output is each % as own command. "HM" happends to be one of those commands
and when the client catches the var it inputs it direct instead of using the alias in Cmud but Zmud uses the alias flawless with the triggers.
My question is How do I get Cmud to Act like Zmud ;p
P.S. in example the mud outputs those extra () so I ignore them |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Mar 21, 2009 8:20 am |
Show us your code. It'll depend on the specific way you're doing this - for example, #send doesn't check aliases, or you might be encountering this problem. Without seeing your code, there's no way of knowing.
|
|
|
|
Caman Newbie
Joined: 20 Mar 2009 Posts: 9
|
Posted: Sat Mar 21, 2009 8:25 am |
I use the package editor. Pattern is literally : Combination! ~( (%w) (%w) (%w) ~)
command 1 = %1
command 2 = %2
command 3 = %3
I used the editor to make the alias too
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger priority="355" copy="yes">
<pattern>Combination! ~( (%w) (%w) (%w) ~)</pattern>
<value>%1
%2
%3</value>
</trigger>
</cmud>
is the direct copy paste it changed it to XML apparently ;p
So the pattern is a constantly changing combination of commands and when "hm" is one
I need it to Input two commands
command 1 = Hammer
command 2 = fly |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Mar 21, 2009 11:24 am |
The page I linked above will explain what your problem is.
|
|
|
|
Caman Newbie
Joined: 20 Mar 2009 Posts: 9
|
Posted: Sat Mar 21, 2009 1:50 pm |
Thank you. #exec did the job ;p
|
|
|
|
|
|