on ^*:text:*:#: {
haltdef
echo -a $1-
}
on ^*:text:*:?: {
haltdef
echo -a $1-
}
on *:input:*: {
if ($left($1,1) == $readini(mirc.ini,text,commandchar)) && (!$ctrlenter) { return }
.msg $target $1-
echo -a $1-
}
Wanted to add:
the . infront of msg will stop the message to be shown to you.
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }