mIRC Home    About    Download    Register    News    Help

Print Thread
#141310 08/02/06 11:46 AM
Joined: Feb 2006
Posts: 95
B
blk Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
I want to make a script to close mIRC through another name..
Is it possible?
like I'd type !close then the recieving name would exit mIRC...


-blk-
#141311 08/02/06 12:20 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
The receiving end would have to have an ON TEXT script in their remotes that triggers when you type !close.

They would need something like:

on *:text:!close:#:{
if ($nick == blk) {
exit
}
}


Of course, there are security issues surrounding only checking if the nickname is 'blk', because anyone could use that nickname if you're not using it. You could do an address match using $address.

Regards,


Mentality/Chris
#141312 08/02/06 02:15 PM
Joined: Feb 2006
Posts: 95
B
blk Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
Thats good =)
Now is there any way I could also part all chats before exiting mIRC?


-blk-
#141313 08/02/06 02:26 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
/partall.

I don't see a massive need to do that though *shrugs*

Regards,


Mentality/Chris
#141314 08/02/06 02:40 PM
Joined: Feb 2006
Posts: 95
B
blk Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Feb 2006
Posts: 95
Well...
I want to just because.... I can.


-blk-

Link Copied to Clipboard