OnBan: Difference between revisions
Jump to navigation
Jump to search
(New page: Category:Private __NOTOC__<!-- Remove all comments from this page when you're done!--> {{Server event}} <!-- Change this to Client event if it's clientside --> <!-- Describe in plai...) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | |||
{{Server event}} | |||
This event is triggered when an IP address or serial is banned from the server. | |||
__NOTOC__ | |||
{{Server event}} | |||
This event is triggered when | |||
==Parameters== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string | string theIPOrSerial | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*''' | *'''theIPOrSerial''': The IP address or serial that was banned from the server. | ||
<!-- Add the event's source in the section below --> | <!-- Add the event's source in the section below --> | ||
==Source== | ==Source== | ||
The [[event system#Event source|source]] of this event is the [[element]] that. | The [[event system#Event source|source]] of this event is the [[element]] that was responsible for the banning. If no responsible was specified, the source is the global root element. | ||
<!-- Only include this section below if cancelling the event has any effect. If you don't know if it does, ask a dev! --> | <!-- Only include this section below if cancelling the event has any effect. If you don't know if it does, ask a dev! --> | ||
==Cancel effect== | ==Cancel effect== | ||
If this event is [[Event system#Canceling|canceled]], | If this event is [[Event system#Canceling|canceled]], the requested ban is not performed. | ||
==Example== | ==Example== | ||
Line 38: | Line 31: | ||
==See Also== | ==See Also== | ||
{{Event_functions}} | {{Event_functions}} | ||
[[Category:Needs Example]] | [[Category:Needs Example]] |
Revision as of 06:15, 30 December 2007
This event is triggered when an IP address or serial is banned from the server.
Parameters
string theIPOrSerial
- theIPOrSerial: The IP address or serial that was banned from the server.
Source
The source of this event is the element that was responsible for the banning. If no responsible was specified, the source is the global root element.
Cancel effect
If this event is canceled, the requested ban is not performed.
Example
This example does...
--This line does... blah() --This line does this... mooo