Raised This Month: $ Target: $400
 0% 

problem cmd witch "/" and "."


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2010 , 18:16   Re: problem cmd witch "/" and "."
Reply With Quote #1

If the function that it points to parses teh command using that character it could mess it up. It really depends on how the function is designed. Also, you really need to see Exolent's comment.
__________________
fysiks is offline
BackStats
Senior Member
Join Date: Oct 2008
Old 11-24-2010 , 18:24   Re: problem cmd witch "/" and "."
Reply With Quote #2

I have a plugin with:
PHP Code:
{
    static 
arg[192]
    
read_args(arg,191)
    
remove_quotes(arg)

    if ( 
arg[0] == '.'  || arg[0] == '!') { client_cmd(id,arg); return PLUGIN_HANDLED; }
    return 
PLUGIN_CONTINUE;

BackStats is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2010 , 18:28   Re: problem cmd witch "/" and "."
Reply With Quote #3

Quote:
Originally Posted by BackStats View Post
I have a plugin with:
PHP Code:
{
    static 
arg[192]
    
read_args(arg,191)
    
remove_quotes(arg)

    if ( 
arg[0] == '.'  || arg[0] == '!') { client_cmd(id,arg); return PLUGIN_HANDLED; }
    return 
PLUGIN_CONTINUE;

Which plugin? The one you are refering to in your first post? A completely different plugin?
__________________
fysiks is offline
Reply



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 11:25.


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