idk if im right buuuuut
if its this
on *:TEXT:!chanlist:#: { if ($nick == $me) { halt }
shouldnt it just be
on *:INPUT:!chanlist:#: {