mIRC Homepage
Posted By: blk Closing mIRC - 08/02/06 11:46 AM
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...
Posted By: Mentality Re: Closing mIRC - 08/02/06 12:20 PM
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,
Posted By: blk Re: Closing mIRC - 08/02/06 02:15 PM
Thats good =)
Now is there any way I could also part all chats before exiting mIRC?
Posted By: Mentality Re: Closing mIRC - 08/02/06 02:26 PM
/partall.

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

Regards,
Posted By: blk Re: Closing mIRC - 08/02/06 02:40 PM
Well...
I want to just because.... I can.
© mIRC Discussion Forums