<Insert pheonix's post here>
Also, I've just noticed that I missed the obvious $right solution..
on *:TEXT:*:?:{
if ($away) {
if ($1 == $me) { msg $nick Hello }
elseif (*! iswm $1-) { msg $nick please dont shout }
elseif ( $right($1-,1) == ? ) { msg $nick say what? }
}
}