var user = getUser() var bans = user.properties().get("bans") if (bans) bans = bans + 1 else bans = 1 if (paramExists(2)) { user.properties().set("bans", bans) talk("* " + getName() + ", you have now banned " + user.properties().get("bans") + " people.") whisper("You have been banned by: " + getName(), paramWord(1)) whisper("Reason for this: " + paramAfter(1), paramWord(1)) execute("ban " + paramAfter(0),,,false) } else send("You must give me a reason to ban this user.")