;credits to lindrian for the ($me isin $1-)
on *:TEXT:*:#: {
if (%noticeme == off) { halt }
if (%noticeme == on) {
if ($me isin $1-) notice $me $nick is talking about you
}
}
alias noticeoff {
if (%noticeme == off) { .notice $me its already off.. | HALT }
if (%noticeme != off) {
set %noticeme off | .notice $me Notice is off.
}
}
alias noticeon {
if (%noticeme == on) { .notice $me its already on.. | HALT }
if (%noticeme != on) {
set %noticeme on | .notice $me Notice is on.
}
}
|