Raised This Month: $ Target: $400
 0% 

commands with args


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
gzus
Member
Join Date: Jan 2007
Old 02-14-2007 , 20:17   commands with args
Reply With Quote #1

ok ive been more than knee deep in like 600 styles of coding, 999 thousand tutorials and im basicly lost at this point.. can someone point me to either a basic, but helpful tutorial/doc about creating commands with arguments, for example, admin wants to give jo-bob 999 xp, command woul dbe formatted say
mho_xp jo-bob 999

how the hell do i get a function to read this, and find jo-bobs ID to add xp to his PlayerXP[id]

i believe actually giving himt he xp would read like ++PlayerXP[id].. no wait that only adds 1 to it, crap man i feel so damn slow right now!
__________________
71.200.20.142:27017 - testing mho mod
if you need any files visit clan.mosthatedonline.com
gzus 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 00:41.


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