I'm trying to make a script that replaces my messages (input) with randomly colored letters. So far, all i've managed to get is
on *:input:*:{
if ($1 == !on) { set %lol on }
if ($1 == !off) { set %lol off }
if (( %lol == on ) && (/* !iswm $1)) {
set %cruddyness $replacecs($1-,a, $+ $rand(1,14) $+ a,b, $+ $rand(1,14) $+ b, etc, etc, (all the lowercase letters)
set %cruddyness $replacecs(%cruddyness,A, $+ $rand(1,14) $+ A,B, $+ $rand(1,14) $+ B, etc, (all the uppercase letters)
say %cruddyness
halt
}
}
IS there any way to cut the script down because having A, $+ $rand(1,14) $+ A for 52 letters, 10 numbers and a multitude of symbols seems like overkill. Aslo, is there any way to cut the number 8 out of the random identifier while keeping all the numbers above and below it?
Last edited by KaiHeilos; 23/12/04 04:12 AM.