2015-11-21 69 views
0

我经常使用server -m连接到多个服务器,它为每个服务器打开一个新窗口,我在想是否可以在连接失败时自动关闭窗口。可能使用事件CONNECTFAIL。任何想法 ?mIRC无法连接的关闭窗口

回答

0

简单close命令应该做的伎俩

on *:connectfail: { 
    ; -it: Inactive Status window (not connected nor connecting) 
    close -it 
} 

此处了解详情:http://en.wikichip.org/wiki/mirc/commands/close

+0

真棒我在脚本窗口使用'/关闭-i'之前没有尝试过这一点,但没有奏效但在远程工作 – Wicelo