Raised This Month: $ Target: $400
 0% 

Command Arguments


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 04-18-2012 , 17:53   Command Arguments
Reply With Quote #1

I'm having troubles figuring out the get_arg variant functions. I need to get all the arguments that were passed through console from a specific command.

read_argv(id, arg, 127) seems to only be giving me the first argument in the string while
read_args(cmd, 127) doesn't seem to give me anything at all.

what gives? I noticed get_args doesn't have an ID of the user to grab the command from, so it just doesn't do anything?

Last edited by Liverwiz; 04-18-2012 at 18:13. Reason: lets make our commands proper, shall we?
Liverwiz 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 07:46.


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