|
fs Newbie
Joined: 11 Jan 2003 Posts: 2
|
Posted: Sat Jan 11, 2003 10:31 am
Make trigger with VALUE of Variable. Not with name |
I need set trigger on VALUE of %selword.. Not on it's name...
Situation. I color word Zugg in MUD and press key, or menu point to invoke script. And it creates trigger on %selword. So next time I select another word it will work on it. It's ok.
But now I need script that will create trigger on value of this variable. So If Zugg is selected trigger will be on Zugg, not on %selword |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sat Jan 11, 2003 12:22 pm |
Try:
#MENU {Color} {#EXEC %concat("#CW ", %selword, " red")}
Kjata |
|
|
|
fs Newbie
Joined: 11 Jan 2003 Posts: 2
|
Posted: Sat Jan 11, 2003 12:32 pm |
thank you. It works
|
|
|
|
|
|