- Documentation
- Server functions
- getBanNick
Function
getBanNick
Returns the nickname stored in the ban.
Syntax
string getBanNick(ban ban)Arguments
banban- The ban handle.
Returns
The nickname, or false if the ban has none.
Example
for _, ban in ipairs(getBans()) do
print("Nick: " .. tostring(getBanNick(ban)))
end