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
yared
Beginner


Joined: 11 Dec 2003
Posts: 17
Location: Netherlands

PostPosted: Thu Feb 19, 2004 4:16 pm   

[TR] skip tell
 
Zmud 4.62 on VME2.0 (valheru.com)

Whenever someones tells me something, a soundtrigger jumps

CLASS: soundalert
PATTERN: ^(%w) tells you
COMMAND: #PL yared.wav

But there is one person that I do not want the soundfile to be played.
How do I tell ZMud to skip that one name (Erwin)?

(Erwin tells you)
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Thu Feb 19, 2004 4:42 pm   
 
How about changing the command to ignore that name?

COMMAND: #IF (%1 != Erwin) {#PL yared.wav}
Reply with quote
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: Sat Jul 24, 2004 7:59 pm   
 
#CLASS {Beebfriend}
#VAR nosound {First name|second name|}
#TRIGGER {(*) tells you '(*)'} {#IF (%ismember( %1, @nosound)) {} {#beep}}
#CLASS 0

The #beep can be replaced with the #play C:\path\file.wav
the name you put in the var will not be playing the sound.
_________________
Drystin
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Sat Jul 24, 2004 11:55 pm   
 
Its better simply not to have the trigger fire whenever Erwin sends you a tell.

#trigger {{^Erwin} tells you '(*)'} {#pl yared.wav}
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