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
Mirudus
Newbie


Joined: 18 Jan 2006
Posts: 4

PostPosted: Wed Jan 18, 2006 2:01 am   

#Replace? #Substitute?
 
Greetings! Quick question.

I play on a Roleplay-Intensive MUD and would like to set up a trigger to remember peoples' names.

For example, I would like for "a tall, dark-haired man" to be displayed as "a tall, dark-haired man (Frank)." I don't mind manually entering everyone's names.

Help please! :)

Much appreciated,
Mirudus
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Jan 18, 2006 3:26 am   
 
Here is a cheap way:
#TRIGGER {(a tall, dark-haired man)} {#SUB {%1 ~(~<send ~"#SH Frank: ~@frank~"~>Frank~<~/send~>~)}}

Ideas on that idea:

donote Frank a tall, dark-haired man
donote Frank The guy with the golden gun.
donote Frank Gave me the book of knowledge

#ALIAS donote
{
#IF (%numparam( ) == 1) {#SHOW {%1} @%1} {
#IF (!%defined( {%1})) {#VAR %1 {} _nodef _Notes}
#ADDITEM %1 {%time(yyyymmdd) %-2}
#ADDITEM All_Notes %1
}
}
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