|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Wed Mar 06, 2002 5:34 pm
Changing Cases |
Hope someone can help here. :-)
I trying to build a trigger that will capture a word and convert it to lower case. Why?
While fighting and I use a certain skill, I get a message something like this...
You move swiftly, befuddling the snot out of Monster.
Then the monster stops fighting.
I'd like to build a trigger that grabs the last word (Monster) and turns it into all lowercase (monster) and then fires kill monster. The reason being, the MUD I play on only takes a kill command in lower case.
Thanks,
TH |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Mar 06, 2002 6:54 pm |
Try using this trigger:
#TRIGGER {You move swiftly, befuddling the snot out of (%w).} {kill %lower(%1)}
Kjata |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|