mIRC Home    About    Download    Register    News    Help

Print Thread
#103222 17/11/04 11:11 PM
Joined: Nov 2004
Posts: 5
S
Shado Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2004
Posts: 5
Anyone know how you fix this?

Code:
on *:sockread:weather:{
  sockread %tmp 
  tokenize 32 %tmp  
  if ($strip(%tmp)) { aline @weather %tmp }
  unset %tmp
}

This is what the error points to: tokenize 32 %tmp

Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
in that small script, its not needed so u can remove it. You only need it if you need to pick out a specific token out, EG $2-.

Joined: Aug 2004
Posts: 42
T
Ameglian cow
Offline
Ameglian cow
T
Joined: Aug 2004
Posts: 42
if %tmp was null, then there would be insufficient parameters for tokenize to work.
Whats the error message?


Link Copied to Clipboard