; When mIRC is started, this event will trigger.
On *:START: {
; Announce to the status window that we will auto-connect in 5 seconds.
echo 3 -s *** CONNECTING IN 5 SECONDS. HOLD SHIFT to ABORT.
; Check if the SHIFT key is being held down, if so, stop the script using 'return'.
if ($mouse.key & 4) { echo 4 -s *** SHIFT key detected: Auto-connect aborted! | return }
; Otherwise, create a timer to start auto connecting in 5 seconds.
.timerSTARTCONNECT 1 5 startconnect
}
; Alias that the above timer calls after 5 seconds.
ALIAS startconnect {
; Check again if the SHIFT key is being held down, if so, stop the script.
if ($mouse.key & 4) { echo 4 -s *** SHIFT key detected: Auto-connect aborted! | return }
; basic template of the 'server' command.
; server $server -i $mnick $anick $email $fullname -jn #chan1,#chan2,#chan3,etc
; Connect to 4 IRC servers. The first line utilizes the primary status window.
; The -m switch in the subsequent commands creates new status windows for multiple connections.
; Type /help /server to learn more about these parameters used.
server efnet +9999 -i Raccoon Raccoon` racc@- I am Raccoon -jn #mIRC,#irchelp,#efnet
server -m freenode -i Raccoon Raccoon` racc@- I am Raccoon -jn ##mIRC,#irchelp,#freenode
server -m irc.mircscripts.net +6697 -i Raccoon Raccoon` racc@- I am Raccoon -jn #mirc,#chat,#help
server -m irc.swiftirc.net +6697 -i Raccoon Raccoon` racc@- I am Raccoon -jn #msl,#help
}