mIRC Home    About    Download    Register    News    Help

Print Thread
#119170 02/05/05 05:50 PM
Joined: Feb 2003
Posts: 306
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 306
Hello, please try this command with %user = to $null and with something on it.

//echo ai $instok(one two three four,%user,3,32)

thanks

#119171 02/05/05 05:59 PM
Joined: Dec 2002
Posts: 206
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 206
I think that you must be talking about the fact that inserting a null value makes $instok return nothing. I agree that this is unwanted behavior.

#119172 02/05/05 06:02 PM
Joined: Feb 2003
Posts: 306
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 306
thanks for the feedback,
that was also my problem.

#119173 06/05/05 07:06 PM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
I agree, it should return the input string (or, more accurately, the same as $gettok(<string>,1-,C)).


Link Copied to Clipboard