Event: OnUnban(from,channel,unbanned)
Syntax: OnUnban(object from,string channel,string unbanned)
Event arguments
from- the person who removed a nickname|mask from the channel ban list
channel- the channel
unbanned- the removed nickname|mask
This event is triggered when a nickname or mask is removed from the channel ban list.
Note: You can get the host and the user of the person who removed a nickname|mask from the channel ban list by using from.Host
and from.User.
Example:
function OnUnban(from,channel,unbanned)
{
if(from!=ole.Me&&ole.IsIgnored(unbanned)) { ole.Ban(channel,unbanned); }
}