on *:invite:#:{ set %owchan if ($nick == Puglover3) { join %owchan | msg %owchan Invited By My Owner! | unset %owchan } if ($chan == #bots) { halt } if ($read(Blockedusers.txt, w, $address($nick,2)) != $null) { notice $nick I will not join a channel that you invited me to. } if ($read(blockedusers.txt, w, $nick) != $null) { notice $nick I will not join a channelt hat you invited me to. } if ($read(Blockedusers.txt, w, $address($nick,2)) == $null) { join $chan } set %invitedby. [ $+ $channel ] $+ ] $nick } on *:JOIN:#:{ if (%invitedby. [ $+ $channel ] $+ ] isop $chan) || (%invitedby. [ $+ $channel ] $+ ] ishop $chan) { msg $chan I was Invited by Half/Op $nick } }