Event: OnVoice(from,channel,voiced)
Syntax: OnVoice(object from,string channel,string voiced)
Event arguments
from- the person who voiced a user
channel- the channel
voiced- the voiced user

This event is triggered when a user voice(mode +v) another user on a channel.
Note: You can get the host and the user of the person who gaved voice by using from.Host and from.User.

Example:
function OnVoice(from,channel,voiced,handle)
{
if(voiced==ole.Me){ ole.Msg(channel,"Thanks for +v, "+sender); }
}


Home|Scripting