Raised This Month: $ Target: $400
 0% 

[SOLVED]For-Loops, Contain, len++ MOTD's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-28-2005 , 23:16  
Reply With Quote #2

You should use if(contain(whatever)!=-1) { do stuff }

Edit: Scratch the below, thought it was contain.
You should also use containi if it's user related input stuff, As SoMe PeOpLe TyPe LIKE ThiS.

Edit2: You should also not use if(equal(whatever,""). Instead, use if(!string). I've found the equal version never works.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 00:03.


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