mIRC Home    About    Download    Register    News    Help

Print Thread
#88917 02/07/04 08:07 PM
Joined: Feb 2004
Posts: 119
D
da_hype Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Feb 2004
Posts: 119
when i echo $hget(record,list) it will output..

#test #bla #1 #2 ....

how do i get a count of channels after $chr(32) ?

#88918 02/07/04 08:11 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
Not totally sure what your after but if you want the number of items in a string that are seperated by spaces (chr(32)) you would use, $numtok(string,32) in your case, $numtok($hget(record,list),32)

Eamonn.

#88919 02/07/04 08:35 PM
Joined: Feb 2004
Posts: 119
D
da_hype Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Feb 2004
Posts: 119
**edited.. nevermind i got it :P

Last edited by da_hype; 02/07/04 08:49 PM.

Link Copied to Clipboard