This Just protects your mIRC from anyone using it
right click in the nicklist section and go on password protection then click on then enter a password , then when you start your mIRC up again it will ask for a password !
menu nicklist,status,channel {
-
Password Protection
.on { pass.on }
.off { pass.off }
}
alias pass.on {
:begin
set %password $?*="Enter Your Password"
if ($len(%password) < 5) { goto invalid }
else { set %g-password on | echo -a Password Protection is now on! | halt }
:invalid
set %try-again $?!="INVALID. password must have 5 or more characters do you want to try again?"
if (%try-again == $true) { goto begin }
}
alias pass.off {
if (%g-password == on) {
unset %g-password
unset %password
echo -a Password Protection is now off! }
else { echo -a Password Protection is not on! }
}
on *:start: {
if (%g-password == on) {
set %trying $?*="Enter Password"
if (%trying == $null) || (%trying != %password) { exit }
elseif (%trying == %password) { echo -a Correct Password! }
}
}