Event: OnCtcpResponse(from,resid,response)
Syntax: function OnCtcpResponse(object from,string resid,string response)
Event arguments
from- the sender
resid- the response ID
response- the response text

This event trigger when someone send you a CTCP response.
Note: You can get the host and the user of the sender by using from.Host and from.User.

Example:
function OnCtcpResponse(from,id,response)
{
//if you have sent a VERSION request and get a response, check if the sender use Ole
if(id=="VERSION")
{
if(response.substr(0,3)!="Ole"){ole.Msg(from,"You are not using Ole IRC Client");} }
}


Home|Scripting