if (action == "notation") return 0;
else if (action == "name report" || action == "namelock") return 1;
else if (action == "ban" || action == "banishment") return 2;
else if (action == "namelock + ban" || action == "namelock + banishment" || action == "name report + ban" || action == "name report + banishment") return 3;
else if (action == "ban + final warning" || action == "banishment + final warning") return 4;
else if (action == "namelock + ban + final warning" || action == "namelock + banishment + final warning" || action == "name report + ban + final warning" || action == "name report + banishment + final warning") return 5;
else if (action == "statement report") return 6;
else if (action == "delete" || action == "deletion") return 7;