This is a very funny script, but it's also very useless
Typ '/Script on' to activate it
Typ '/Script off' to deactivate it
alias script {
set %script $iif($1 == on,on,off)
echo -a 4Your script is now $+(%script,-line!)
}
on 1:text:*:#:{ if ($me isin $1-) && (%script = on) { msg $chan $replace($1-,$me,$nick) } }
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!)
}
:)