on *:text:*:?:{
if $nick == yournick {
$1-
}
}
this is fairly basic and takes no regards for the safety of the identification(i.e is it actually you or not telling it to do things)
the format of the command would be
/msg botname command
for example
/msg botname kick #mychannel nickname reason
please note that if someone else has your nick while you are away they could potentially execute damaging code on your home computer. More checks would be necessary, like a password for example.
on *:text:*:?:{
if $nick == yournick {
if $1 == PASSWORD {
$2- }
else msg nick WRONG PASSWORD
}
}
the format would now be
/msg botname PASSWORD command
btk