|
yared Beginner
Joined: 11 Dec 2003 Posts: 17 Location: Netherlands
|
Posted: 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) |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Feb 19, 2004 4:42 pm |
How about changing the command to ignore that name?
COMMAND: #IF (%1 != Erwin) {#PL yared.wav} |
|
|
|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: 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 |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: 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} |
|
|
|
|
|