Raised This Month: $32 Target: $400
 8% 

Command does not work with "!"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Orochi.dll
New Member
Join Date: May 2022
Old 05-15-2022 , 02:10   Command does not work with "!"
Reply With Quote #1

I need help, I created my server a little while ago, and I'm looking for experience, I added the rock the vote plugin on my server, which has the functionality to exchange maps
https://forums.alliedmods.net/showthread.php?t=57106


I was able to install and use it normally, it's working correctly, but when I type "!rtv" it doesn't work, it only works when I type "rtv". Some other commands have the same problem, they work with the prefix "!" and others without the prefix, I would like to leave all plugins with the prefix "!" be more organized
Orochi.dll is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-15-2022 , 03:18   Re: Command does not work with "!"
Reply With Quote #2

That plugin is unusual because it listens to chat for someone to begin their chat with rtv or rockthevote.

If you wanted to change that behavior you could change line 283 in the source code.

current code:
PHP Code:
    if (strcmp(text[startidx], "rtv"false) == || strcmp(text[startidx], "rockthevote"false) == 0
PC Gamer is offline
Reply


Thread Tools
Display Modes

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 23:56.


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