mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
Code:
on *:SOCKREAD:test:{  
  sockread -fn &r

  breplace &r 0 10

  if ($bvar(&r, 0)) {
    tokenize 32 $bvar(&r, 1, 925).text

    if ($1 == something) ; do something..
  }
}


on mIRC 6.16 it gives a bvar error on line
if ($bvar(&r, 0)) {

on mirc 6.2 its fine though, why is this?

Joined: Mar 2007
Posts: 38
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Mar 2007
Posts: 38
Which is the error that it gives you?


Cya!.-


"if ($me ison $forum) { say Hello! }"
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
The only likely line to cause an error is the sockread -fn &r line.

Originally Posted By: versions.txt
28/07/2006 - mIRC v6.2
...
82.Fixed /sockread -nf bug, switches were not being parsed correctly.

You might want to check it's not that which is causing the error, not the $bvar() line.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard