Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Tips and tricks ➜ Question about gag and chat redirect

Question about gag and chat redirect

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Xenoshi   (2 posts)  Bio
Date Sun 28 Mar 2010 12:58 AM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Mar 2010 05:12 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Xenoshi   (2 posts)  Bio
Date Reply #2 on Sun 28 Mar 2010 09:12 AM (UTC)
Message
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.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,221 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.