AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Hide Chat Triggers (https://forums.alliedmods.net/showthread.php?t=58442)

ferret 07-26-2007 08:01

Hide Chat Triggers
 
1 Attachment(s)
Nice and simple.

Create a list of triggers you don't want to display, and this plugin will (should) block them from being seen in chat. For example, statsme, rank, place, nextmap, ff, etc.

The plugin works off the first word of the chat message, so triggers with arguments like "trigger blah1 blah2" should also be blocked by just specifying "trigger"

The list is addons/sourcemod/configs/chattriggers.txt

INS should also be supported, but not tested.

As of time of posting, I haven't tested this yet. It's pretty straight forward though.

tcviper 07-26-2007 08:03

Re: Hide Chat Triggers
 
Exactly what i needed, thank you! :)

Extreme_One 07-26-2007 15:17

Re: Hide Chat Triggers
 
Ferret you are a star! Another one crossed off of my wishlist :)

imported_Anth0ny 07-27-2007 03:10

Re: Hide Chat Triggers
 
thanks, nice plugin! =)

Extreme_One 07-28-2007 06:11

Re: Hide Chat Triggers
 
Hmm can't get this to work.

The plugin is loaded:
11:09:54 [SM] Listing 12 plugins:
01 "Admin File Reader" (1.0.0.1166) by AlliedModders LLC
02 "Admin Help" (1.0.0.1166) by AlliedModders LLC
03 "Aimbot Detection" (0.0.1.0) by devicenull
04 "Anti-Flood" (1.0.0.1166) by AlliedModders LLC
05 "Basic Commands" (1.0.0.1166) by AlliedModders LLC
06 "Cvar Hider" (1.0.0.0) by AlliedModders LLC
07 "Healthkit On Death" (1.3.0) by Knagg0
08 "Reserved Slots" (1.0.0.1166) by AlliedModders LLC
09 "Spec for Cash" (1.0.1.0) by Shane A. ^BuGs^ Froebel
10 "Weapon Logging" (1.2) by Tobi17
11 "Hide Chat Triggers" (1.0.0.0) by AlliedModders LLC
12 "HLstatsX Plugin" (1.2) by Tobi17

addons/sourcemod/configs/chattriggers.txt :

"!funsounds"

Only added one command to test it out and it's not blocked from being displayed.

I tried removing the quotes and that failed.

I tried to remove the ! too to see if that was a reason but the chat command is still being displayed.

bobbobagan 07-30-2007 07:02

Re: Hide Chat Triggers
 
I dont get it...

Would my chattriggers.txt look like this:
Code:

trigger motd
trigger blep
trigger mlep
trigger glep


tcviper 07-30-2007 10:50

Re: Hide Chat Triggers
 
No you just add a word per line like:

rank
top10
top15
statsme

Extreme_One 08-04-2007 10:17

Re: Hide Chat Triggers
 
This will not block any chat which is prefixed with an exclamation mark.


Example:
Code:

!radiooff
!musicoff
!test

etc.. etc..

Otherwise it works perfectly ;)

I would file a bug report for this issue but this plugin isn't listed.

ferret 08-06-2007 11:34

Re: Hide Chat Triggers
 
! is used by sourcemod as a built in command trigger. That may be the issue. I'll try to look at this shortly.

MoggieX 08-31-2007 08:24

Re: Hide Chat Triggers
 
Could this get rid of the 'fire in the hole' messages in CS:Source?


All times are GMT -4. The time now is 05:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.