Raised This Month: $ Target: $400
 0% 

Display Usage if all Arguments aren't entered.


Post New Thread Reply   
 
Thread Tools Display Modes
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
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-23-2006 , 22:09  
Reply With Quote #2

cmd_access stock
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
SamsChoice
New Member
Join Date: Apr 2006
Old 04-24-2006 , 01:35  
Reply With Quote #3

thx =) didn't even think about that
SamsChoice 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 05:03.


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