mIRC Home    About    Download    Register    News    Help

Print Thread
#64440 18/12/03 04:37 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
when u /sockread &var in on sockread the binvar becomes global and not removed after the script ends but helpfile says that binvars are local


#64441 18/12/03 05:35 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I've had no such thing happen. If I sockread a binvar, I can't use it after the read statement is completed. I can use the binvar in other alias up until the last } is executed in the on SOCKREAD is executes, but hereafer its removed.


-KingTomato
#64442 18/12/03 06:10 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
put in remote
on *:sockread:a:sockread &a
then connect to yourself and send something to this socket and after it read type //echo -a $bvar(&a,1-).text in the command line



Link Copied to Clipboard