on *:TEXT:`join *:#thepc: { if ($nick isop $chan) || ($nick ishop $chan) || ($address($nick,2) == $address($me,2)) { join $2 } } Below this is not required: That is it Example `join #thepc.staff