How ignoreAll and add any exceptions ?
Yes yes...Exceptions 8D
I tried edit sub cmdIgnore but,don't works.
Why,when i write "ignore 1 all" and after "ignore 0 mirana" doesn't work ?
Have as edit to do this ?
This code was made to "ignore All" and to "UNignore All" and not to : "ignore All" and "UNignore Player".sub cmdIgnore {
if (!$net || $net->getState() != Network::IN_GAME) {
error TF("You must be logged in the game to use this command (%s)\n", shift);
return;
}
my (undef, $args) = @_;
my ($arg1, $arg2) = $args =~ /^(\d+) ([\s\S]*)/;
if ($arg1 eq "" || $arg2 eq "" || ($arg1 ne "0" && $arg1 ne "1")) {
error T("Syntax Error in function 'ignore' (Ignore Player/Everyone)\n" .
"Usage: ignore <flag> <name | all>\n");
} else {
if ($arg2 eq "all") {
$messageSender->sendIgnoreAll(!$arg1);
} else {
$messageSender->sendIgnore($arg2, !$arg1);
}
}
}

Ops,i have a new idea.
Add other else?
Other : I not understand the "exclamation" ! in this code.
I know your function.
But,in this code,is very confused.