You also don\'t need the \'/\' infront of commands. mIRC automatically puts a \'/\' infront of commands so there\'s no use for it. Also the alias script is too.. not well designed...It can be shorter:
alias script {
set %script $iif($1 == on,on,off)
echo -a 4Your script is now $+(%script,-line!)
}
:)