ok i'm having a bit of troulbe authing using bvars on sparkpea..
if i do
on *:sockread:?#*:{
var %x = ""
sockread -f %x
tokenize 32 %x
if ($1-3 = AUTH GateKeeperPassport S) { }
etc...
}
it works fine,
but if i do
on *:sockread:?#*:{
sockread -n &x
if ($gettok($bvar(&x,1-).text,1-3,32) = AUTH GateKeeperPassport S) { }
etc...
}
i get an error..
* Invalid parameters: $bvar (line 66, connection.mrc)
if anyone can help me out would be great thanks. =)