rendered paste bodyalias ignore2 {
if ($1 == $null) { echo -a *** Error: Correct Syntax: /ignore <nickname> | echo -a *** Error: Correct Syntax: /ignore 1 <add/del> <nickname> (this is to add or remove a single single) | echo -a *** Error: Correct Syntax: /ignore -r <nickname> (this will remove all ignores on a nickname) | return }
if ($1 == -k) {
if ($2 == $null) { echo -a *** Error: Correct Syntax: /ignore -k <nickname> | return }
var %pwn = 15
.ignore -k $2 $+ !*@* | echo -a $chr(3) $+ 3* Added $2 $+ !*@* to ignore list (stripping colors from $2 $+ !*@* now)
if ($address($2,1) == $null) { return }
.ignore -k $address($2,1) | echo -a $chr(3) $+ 3* Added $address($2,1) to ignore list (stripping colors from $address($2,1) now)
.ignore -k $address($2,2) | echo -a $chr(3) $+ 3* Added $address($2,2) to ignore list (stripping colors from $address($2,2) now)
.ignore -k $address($2,3) | echo -a $chr(3) $+ 3* Added $address($2,3) to ignore list (stripping colors from $address($2,3) now)
while (%pwn > 4) {
.ignore -k $address($2,%pwn) | echo -a $chr(3) $+ 3* Added $address($2,%pwn) to ignore list (stripping colors from $address($2,%pwn) now)
dec %pwn
}
return
}
if ($1 == -l) { var %ignores = $ignore(0) | echo -a $chr(3) $+ 2 $+ $chr(31) $+ *** Your Ignore List: | while (%ignores) { echo -a $chr(2) $+ $chr(35) $+ %ignores $+ : $+ $chr(2) $ignore(%ignores) | dec %ignores } | return }
if ($1 == 1) {
if (($2 == $null) || ($2 != ADD) && ($2 != DEL)) { echo -a *** Error: Correct Syntax: /ignore 1 <add/del> <nickname> | return }
if ($3 == $null) { echo -a *** Error: Correct Syntax: /ignore 1 <add/del> <nickname> | return }
else { .ignore $iif($2 == del, -r, $null) $3 | echo -a $chr(3) $+ 3* $iif($2 == del, Removed, Added) $3 $iif($2 == del, from, to) ignore list | return }
}
if ($1 == -r) {
if ($2 == $null) { echo -a *** Error: Correct Syntax: /ignore -r <nickname> | return }
var %pwn = 15
.ignore -r $2 $+ !*@* | echo -a $chr(3) $+ 3* Removed $2 $+ !*@* from ignore list
if ($address($2,1) == $null) { return }
.ignore -r $address($2,1) | echo -a $chr(3) $+ 3* Removed $address($2,1) from ignore list
.ignore -r $address($2,2) | echo -a $chr(3) $+ 3* Removed $address($2,2) from ignore list
.ignore -r $address($2,3) | echo -a $chr(3) $+ 3* Removed $address($2,3) from ignore list
while (%pwn > 4) {
.ignore -r $address($2,%pwn) | echo -a $chr(3) $+ 3* Removed $address($2,%pwn) from ignore list
dec %pwn
}
return
}
else {
var %pwn = 15
.ignore $1 $+ !*@* | echo -a $chr(3) $+ 3* Added $1 $+ !*@* to ignore list
if ($address($1,1) == $null) { return }
.ignore $address($1,1) | echo -a $chr(3) $+ 3* Added $address($1,1) to ignore list
.ignore $address($1,2) | echo -a $chr(3) $+ 3* Added $address($1,2) to ignore list
.ignore $address($1,3) | echo -a $chr(3) $+ 3* Added $address($1,3) to ignore list
while (%pwn > 4) {
.ignore $address($1,%pwn) | echo -a $chr(3) $+ 3* Added $address($1,%pwn) to ignore list
dec %pwn
}
}
}