on *:text:*:#: {
if ($1 == $chr(119)) { msg $chan This is a lower case w }
elseif ($1 == $chr(87)) { msg $chan This is an upper case W }
}
or...
on *:text:*:#: {
if ($1- isupper) { echo -a This text is all upper case }
elseif ($1- islower) { echo -a This text is all lower case }
}
or...
on *:text:w:#: {
if ($1 isupper) { echo -a This is an upper case W }
elseif ($1 islower) { echo -a This is a lower case w }
}
As a note, in this last code, you could just do:
else echo -a This is a lower case w
instead of the ELSEIF line. I showed you the ELSEIF line just so you can see how it works.
Personally, this third code is what I'd use.