Cmud help

by Unknown

Back to Mechanic's Corner.

Unknown2008-02-22 01:11:48
Okay so I decided to download cmud and see what it is like since I still can't figure out crap with Mush. However, I can't even make a basic targeting alias now...

I did

CODE
t %1
#var target %1
but all I get is you must specify something to say when I type (t rat). So what is the deal? In Zmud I could just do #var target and it would work fine...any suggestions or anyone know how to fix it?
Catarin2008-02-22 01:49:52
QUOTE(white wolf @ Feb 21 2008, 06:11 PM) 488547
Okay so I decided to download cmud and see what it is like since I still can't figure out crap with Mush. However, I can't even make a basic targeting alias now...

I did

CODE
t %1
#var target %1
but all I get is you must specify something to say when I type (t rat). So what is the deal? In Zmud I could just do #var target and it would work fine...any suggestions or anyone know how to fix it?


You can just do something like this: #ALIAS t {#VAR target %1}

CMud doesn't do parameters the same way zmud did.
Unknown2008-02-22 01:56:21
Actually, the default in CMUD is to use the same auto-append that zMUD does, AFAIK. You can disable the auto-append feature per alias, too. (Auto-append is what allows you to just do "#VAR target" in your targeting alias.)

With CMUD's named parameters as local variables, you could also do something like this:

CODE
#ALIAS t($targ) {#VAR target $targ}
Unknown2008-02-22 03:52:59
Alright so I did the one that Zarquan suggested and it is working nicely now. Thank you both. Next thing...I read the help file about colour triggers and it isn't working...this is what I have...

CODE
You have recovered balance on all limbs.
#co blue

Just like the help file says but it isn't colouring the trigger. I also tried doing...

CODE
You have recovered balance on all limbs.
#color blue


Thanks in advance for any help you can supply. And yes I know about Catarin's free system but I want to try to build my own and learn this.
Unknown2008-02-22 20:14:01
Okay so I figured out how to color my triggers. Now here is a new question...

If I go and do the triggers by going and clicking triggers and the doing the code:

CODE
You have recovered balance on all limbs.
#COLOR blue


It won't work. But if I do the code:

CODE
#TRIGGER {You have recovered balance on all limbs.} {#COLOR blue} "Highlights"


in the command line it works but doesn't show up under my highlights section in triggers...anyone know why? I can't find the trigger anywhere come to think of it.

Explaination please?

Thanks.