Raised This Month: $ Target: $400
 0% 

AMXX Chat Relay [Discord <=> Ingame]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 10-14-2019 , 02:52   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #11

Quote:
Originally Posted by RaZ_HU View Post
Feature request: add a file where we can list phrases to be ignored.

Also please ignore messages starting with " / " (commands) and whitespace:
Code:
public handleSay(id)
{
	new sMessage[MAX_COMMAND_LENGTH];
	read_argv(1, sMessage, charsmax(sMessage));

	if (strlen(sMessage) == 0 || sMessage[0] == '/' || sMessage[0] == ' ')
	{
		return PLUGIN_CONTINUE;
	}
Plugins and the relay bot are both awesome, thank you guys.

Edit:
@endnch I have changed your SMA code to support exclusive list, if needed I can send it to you and check it (I am sure there are stuff that could be done better in it).
Those already can be done on the server-side: https://rumblefrog.me/source-chat-relay/filters
__________________
RumbleFrog is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:11.


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