mIRC Home    About    Download    Register    News    Help

Print Thread
#14388 07/03/03 12:27 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
If you have multi words in %temp How would I select the first word in that Varible?


%temp WORD1 WORD2 WORD3





Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#14389 07/03/03 12:32 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
//echo -a $gettok(%temp,1,32) is the first word
//echo -a $gettok(%temp,2,32) is the second word
//echo -a $gettok(%temp,3,32) is the third word

#14390 07/03/03 05:23 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline OP
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
Thanks for the help....




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard