IsBanned
Whether a name or an address is banned right now, and why.
Syntax
Section titled “Syntax”IsBanned(nameOrAddress)| Parameter | Type | |
|---|---|---|
nameOrAddress |
string | a name or an address |
Returns
Section titled “Returns”string - the reason, e.g. "banned: speed hacking (9,000 min left)"; nil when not banned
Example
Section titled “Example”local why = IsBanned(args)SendClientMessage(pid, COLOUR_SERVER, why or (args .. " is not banned"))See also
Section titled “See also”Ban · Unban · the Accounts, admins, bans and the audit group of the index
