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:
alias accessme {
    if ($Sock(chanl)) {
      if ($me isowner %chan) sockwrite -n chanl access %chan add OWNER $ial($me).addr 0 :access
    }
}


i do that every 10 secs like

/timera 0 10 accessme

but when the socket doesnt exist it still echos no such socket even when i have the 'if $sock(chanl)

:S

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Try if ($sock(Sockl).status == active) { }


Link Copied to Clipboard