On *:INVITE:#: {
join $chan
msg $chan Hi, I am $me and I was invited by $nick at $time(hh:nn tt) $+ , $date(mm/dd/yy) $+ .
msg $chan I will give an operator(@) 10 seconds to put me as an op or on access or I will part this channel because i cannot peform any of my commands.
/timer 1 10 check $chan
Msg Zack` I was invited to $chan by $nick at $time(hh:nn tt) $+ , $date(mm/dd/yy)
}
alias check {
if ($me !isop $chan) {
part $1 I am a channel bot, if i'm not op I cannot peform any commands. If you change your mind, just invite me back.
}
}