|
Endy Newbie
Joined: 19 Apr 2006 Posts: 2
|
Posted: Wed Apr 19, 2006 3:14 pm
Gagon/off not working |
I have a trigger, which is invoked when another player in my party whispers to me "rate". It checks party status, calculates his/hers exprate and share %, and then "tells" it. I've put #gagon and #gagoff, because I don't want to see any of the spam during my exping.
Code: |
#if (%ismember("%1",@pmembers)) {
#gagon
temp = "Rate: "%item(@rates,%ismember("%1",@pmembers)) k/min", share "%item(@shares,%ismember("%1",@pmembers))%
t %1 @temp
#gagoff
} |
The trigger works fine. The problem is, I see all of the spam regardless of the gags.
Zmud 7.04 |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: Wed Apr 19, 2006 7:19 pm |
I would suggest just using #GAG no need to switch it off an on.. Make a trigger for your screen display (WHAT YOU TELL THEM) and set it to #GAG
i.e.
t %1 @temp i assume = tell USER RATE
make a trigger like
#TRIGGER {^You tell * Rate:} {#GAG}
that might work just fine for what you need and you wont have to have so much going on in your #IF STRINGS just remove the gag sections and add this trigger i think will do you fine |
|
_________________ Confucious say "Bugs in Programs need Hammer" |
|
|
|
Endy Newbie
Joined: 19 Apr 2006 Posts: 2
|
Posted: Thu Apr 20, 2006 11:20 am |
Yes that worked. I gagged the whisper, the tell, and the spam that came from the party status command.
|
|
|
|
|
|
|
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
|
|