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


Joined: 09 Mar 2005
Posts: 7

PostPosted: Wed Mar 09, 2005 12:55 am   

Problem with Tell History Trigger
 
Alright, below is what I have setup for tell history on the mud I play (Thanks to Epicar for this code). The problem I have is that the mud has allowed the players to have titles (Sir, Master, etc..) and surnames (Longbeard, Ironthorn). So you could end up with something like this;

Deagan tells you: Hi
or
Sir Deagan tells you: Hi
or
Sir Deagan of Zmud tells you: Hi

and when you have the Title or Surname the tell trigger does not pick up the tell.

I'm open to suggestions and comments.

Thanks,

Deagan


Code:
Pattern:   ^&%w{TellName} {tells|asks} you(*): &%*{LastTell}
Commands:
   tell_list_names = %additem(@TellName, @tell_list_names)
   #if (%ismember(@TellName,@friend_list) or %ismember(@TellName,@target_list) or %ismember(@TellName,@orgmate_list)) {#cw underline}
   tell_list_times = %additem(%time("hh:nn:ss"), @tell_list_times)
   #PLA notify.wav
   #wait 100
   tell_list_tells = %additem(@LastTell, @tell_list_tells)
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Wed Mar 09, 2005 1:27 am   
 
Pattern: ^&TellName {tells|asks} you:&LastTell
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
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