GetBanTime: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}} This function will return the banning time of the specified ban element. ==Syntax== <syntaxhighlight lang="lua"> string getBanTime ( ban theBan ) </syntaxhighlight> ===Required...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server function}} | {{Server function}} | ||
This function will return the banning time of the specified [[ban]] | This function will return the banning time of the specified [[ban]] pointer. | ||
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''theBan:''' The [[ban]] | *'''theBan:''' The [[ban]] in which you wish to retrieve the time of. | ||
===Returns=== | ===Returns=== | ||
Returns a ''string'' of the banning time if everything was successfull, ''false'' if invalid arguments are specified if there was no banning time specified for the [[ban]] | Returns a ''string'' of the banning time if everything was successfull, ''false'' if invalid arguments are specified if there was no banning time specified for the [[ban]]. | ||
==Example== | ==Example== |
Revision as of 17:38, 23 January 2009
This function will return the banning time of the specified ban pointer.
Syntax
string getBanTime ( ban theBan )
Required Arguments
- theBan: The ban in which you wish to retrieve the time of.
Returns
Returns a string of the banning time if everything was successfull, false if invalid arguments are specified if there was no banning time 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