Just Put it in your remute and Press {} and OK check if it works :P
menu channel {
.$iif($group(#coltxt).status iswm on, Auto-color is on, Auto-Color is off)
..Turn auto-color off:disable #coltxt
..Turn auto-color on:enable #coltxt
}
#coltxt off
on *:input:*:{
if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
msg $active 9 $+ $1-
halt
:last
}
#coltxt end
alias c {
var %temp = 1, %max = $len($1-), %char, %string, %color = 4 7 2 3 12 6, %cs = $rand(1,$numtok(%color,32))
while (%temp <= %max) {
%char = $mid($1-,%temp,1) | if (%char isnum) %string = %string $+ $+ $gettok(%color,%cs,32) $+ ,99 $+ %char
elseif (%char = $chr(32)) { inc %temp | %char = $mid($1-,%temp,1) | %string = %string $+ $gettok(%color,%cs,32) $+ %char }
else { %string = %string $+ $+ $gettok(%color,%cs,32) $+ %char }
inc %temp | inc %cs | if (%cs > $numtok(%color,32)) %cs = 1
}
if ($isid) return %string | else msg # %string
}
?
msg $active 9 $+ $1- maybe its would be easy if you change colour in mirc itself \"OWN TEXT\" section to green light colour. Or else some suggestion that maybe you can put in your input remote like:-
on :input::{
var %asc = $+ $rand(3,15) $rand(,) $+
if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
msg $active %asc $+ $rand(3,15) $1- %asc
halt
:last
}
make sure the remote you do is not a 2nd option for user to choose and its must be no option and the only option is the remote you do.