Raised This Month: $ Target: $400
 0% 

HandleSay and stuff


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NewUser
Member
Join Date: Mar 2006
Location: over there
Old 04-03-2006 , 00:05   HandleSay and stuff
Reply With Quote #1

I know how to do the HandleSay with containi statements, but not equali statements. The whole chat system isn't functioning now!

Code:
public HandleSay(id) {     new Speech[192];     read_args(Speech,191)     remove_quotes(Speech)             if(equali(Speech, "/Test"))     {         client_print(id,print_chat, "[Gaben] Testage.");         return PLUGIN_HANDLED;     }    return PLUGIN_HANDLED; }

I've also tried
Code:
if(equali(Speech, "/test") != -1)
But all that does is make anything you say, do that function... The chat system is still defiled anyhow.

Edit: There are no errors what so ever.
__________________
LEWL.
NewUser is offline
 


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 16:40.


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