GetBanAdmin: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''theBan:''' The [[ban]] | *'''theBan:''' The [[ban]] you want to return the admin of. | ||
===Returns=== | ===Returns=== | ||
Returns a ''string'' of the admin if everything was | Returns a ''string'' of the admin if everything was successful, ''false'' if invalid arguments are specified if there was no admin specified for the [[ban]]. | ||
==Example== | ==Example== |
Revision as of 17:46, 23 January 2009
This function will return the admin (nickname of the admin) of the specified ban pointer.
Syntax
string getBanAdmin ( ban theBan )
Required Arguments
- theBan: The ban you want to return the admin of.
Returns
Returns a string of the admin if everything was successful, false if invalid arguments are specified if there was no admin specified for the ban.
Example
--TODO
See Also
- addBan
- banPlayer
- getBanAdmin
- getBanIP
- getBanNick
- getBanReason
- getBanSerial
- getBanTime
- getBanUsername
- getBans
- getUnbanTime
- isBan
- kickPlayer
- setBanAdmin
- setBanNick
- setBanReason
- setUnbanTime
- reloadBans
- removeBan