NDGIU

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

[Main] [Lua Examples]

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Global Functions & Examples

UnbanIP()

Params
address - ipaddress to unban, must be an exact match to a banned ip
Unbans an ipaddress.

Example

 CODE EXAMPLE BLOCK

UnbanUser()

Params
userid - user id to unban
Unbans a banned user.

Example

 CODE EXAMPLE BLOCK

UnregisterEventHandler()

Params
scriptname - Script name which is the same you would use to require the file (ie: default:base_mobile) (Note: If you pass nil or an empty string it will use the current file)
event - event to be fired
eventid - event identifier of the specific event
Unregisters an event handler for the specified file (package). These handlers are not saved and must be registered every time the object is loaded.

Example

 CODE EXAMPLE BLOCK