Raised This Month: $ Target: $400
 0% 

Display Usage if all Arguments aren't entered.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SamsChoice
New Member
Join Date: Apr 2006
Old 04-23-2006 , 22:07   Display Usage if all Arguments aren't entered.
Reply With Quote #1

hello, i'm workin on a plugin, but i have a stupid problem, how can i have my plugin check to make sure all 3 arguments are filled in.. if not then display the usage of the plugin?


example:
amx_plugin name mode 1/0 - (would make the plugin continue)
amx_plugin name 1/0 - (would make the plugin display the Usage since mode isn't specified)


thanks.
SamsChoice 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 05:03.


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