GetBanReason: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
===Returns=== | ===Returns=== | ||
Returns a ''string'' of the reason if everything was | Returns a ''string'' of the reason if everything was successful, ''false'' if invalid arguments are specified if there was no reason specified for the [[ban]]. | ||
==Example== | ==Example== |
Revision as of 18:00, 23 January 2009
This function will return the ban reason of the specified ban pointer.
Syntax
string getBanReason ( ban theBan )
Required Arguments
- theBan: The ban in which you want to return the reason of.
Returns
Returns a string of the reason if everything was successful, false if invalid arguments are specified if there was no reason 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