|
Mirudus Newbie
Joined: 18 Jan 2006 Posts: 4
|
Posted: 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 |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: 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
}
} |
|
|
|
|
|
|
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
|
|