Raised This Month: $ Target: $400
 0% 

how to read several values out of a the chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Wolle
Member
Join Date: Jun 2005
Location: Berlin / Germany
Old 12-27-2005 , 11:43  
Reply With Quote #7

Well that's not really what I meant.
What exactly is the "ID"?
The docs say "0" returns the command. What command? Is "/" the command?
And everything after "0" is arguments.
So let's say if "/num" is the command, "0" returns "/num" or "num"? Will I need to register "/num" as a command first?
Let's assume an admin "say"s or "team_say"s this "/num 10 20 30".
"read_argv( 0 ..." holds "/num" right? And "read_argv( 1 ..." holds "10" and "read_argv( 2 ..." holds "20" and so on right?
I know it doesn't but that's how I understand the docs. What am I missing?
Wolle is offline
Send a message via AIM to Wolle
 



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 16:08.


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