Question about gag and chat redirect

Posted by Xenoshi on Sun 28 Mar 2010 12:58 AM — 3 posts, 14,990 views.

#0
I am pretty new to all of this so please forgive the stupidity that may ensue.

I have been searching for a while and either cannot seem to find it or maybe I can't understand the code involved. I am trying to find a way to create a gag plugin either in the original vbscript that mush comes with or in LUA to gag a player on the chat redirector window.

My first thought is that it was the variables involved because I have been editing the VB script one. The mud I play that I want to gag players on, the channels I want to gag them on are OOC and Sends a scouter transmission to you. The output tends to look like these:

Examples:
Fintosh [OOC]s, 'Sup Mud. '

Fintosh sends a scouter transmission to you, 'Yo man, what's up? '

I was thinking because of the variable set in the plugin when I edited it only has (says|tells you) that simply editing that would make the difference, doesn't seem to be so though. My question I guess is pretty simple, how do I make it so it gags their ooc's and tells on the chat window.

I have already gagged the players on the main window, I just need to gag them on the chat window where everything gets redirected to.
Australia Forum Administrator #1
If you are gagging with a trigger in the chat window, that won't work because triggers only fire on incoming (from the MUD) lines. The way the chat worked they were done with a world.Note, which is different.

The simplest thing is to amend the chat plugin (or however you are sending the chats to another window) and not send the chat in the first place, if the person doing the chatting matches some list, rather than trying to suppress it when it arrives.
#2
Nah I have 2 windows, the main window is the one where the mud is basically, the other window is the chat window which all the different chat channels get redirected to, even though they all still display in the main one as well. I have a trigger running in the main one to omit the persons ooc's and stuff. I already tried the trigger thing for the chat window and found that wouldn't work which is why I was looking for a plugin, and thus have been unsuccessful.