Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Tygerhart
Novice


Joined: 04 Oct 2001
Posts: 43
Location: Canada

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net