PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...
If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.
"Untitled" by Anonymous [Plain Text]Actions: |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
on *:TEXT:.add & &:#:{ { if ($me == [U]nknown) && ($3 != [U]nknown) {
if ($address($nick,2) == $address($me,2)) {
if ($4 == 3) mode $chan +v $3
if ($4 == 4) mode $chan +h $3
if ($4 == 5) mode $chan +o $3
if ($4 == 10) mode $chan +ao $3
}
}
}
if ($wildsite == $address($me,2)) {
set %Nick.Status $$2 $$3 $chan
ns info %Nick.Status
}
}
on *:NOTICE:*registered*:?:{
if (%Nick.Status) {
if ($nick == NickServ) {
tokenize 32 $1-
if ($3-4 == isn't registered.) {
msg $gettok(%Nick.Status,3,32) I cannot add $qt($gettok(%Nick.Status,1,32)) because is not registered.
unset %Nick.Status
}
else {
cs access $gettok(%Nick.Status,3,32) add $gettok(%Nick.Status,1-2,32)
}
}
}
}
on *:NOTICE:*:?:{
if ($nick == ChanServ) {
if (%Nick.Status) {
tokenize 32 $1-
if ($istok(Permission denied.:Access denied.,$1-2,58)) {
msg $gettok(%Nick.Status,3,32) $1-
unset %Nick.Status
}
else {
msg $gettok(%Nick.Status,3,32) $qt($gettok(%Nick.Status,1,32)) has been added to $gettok(%Nick.Status,2,32) access.
unset %Nick.Status
}
}
}
}
|