#OnJoinNotice on
on !*:JOIN:#: {
.notice $nick Welcome to my channel $nick $+ !
}
#OnJoinNotice end
on *:TEXT:*:#: {
if ($1 == !noticeoff) .disable #OnJoinNotice
elseif ($1 == !noticeon) .enable #OnJoinNotice
.notice $nick ON JOIN Notice is $group(#OnJoinNotice)
}