ONJOIN – This will be triggered any time a user enters a channel, including yourself
Sub ONJOIN(Nickname,Host,Channel,ServerNumber)
The Nickname is the user who joined the Channel, with the specified Host for the user. This will also fire for yourself.
ONPART -This will be triggered any time a user leaves a channel, including yourself.
Sub ONPART(Nickname,Host,Channel,Reason,ServerNumber)
The Nickname is the user who parted the Channel, with the specified Reason (if a reason was used) The user”s Host is also sent.
ONCTCP – This will be triggered any time a user CTCP”s you.
Sub ONCTCP(Nickname,Data,ServerNumber) When a CTCP Notice is sent to you, and you do not have CTCP Replies Disabled in Options (Under Flood Settings), this event is triggered, allowing you to make your own custom CTCP commands, or reply to standard ones (VERSION, FINGER,PING, etc). Data can contain just one word, like PING, or a series of words, all depending what the Nickname sent you.
ONTEXT – This will be triggered any time there is a channel message.
Sub ONTEXT(Message,Channel,Nickname,Host,ServerNumber)
ONACTION – This will be triggered any time there is a channel action.
Sub ONACTION(Message,Channel,Nickname, Host,ServerNumber)
ONQUERY – This will be triggered any time there is a query/private messsage.
Sub ONQUERY(Message,Nickname,Host,ServerNumber)
ONQUERYACTION – This will be triggered any time there is a action performed in a query.
Sub ONQUERYACTION(Message,Nickname,Host,ServerNumber)
ONNICK – This will be triggered any time there is a nick name change.
Sub ONNICK(NewNick,OldNick,ServerNumber)
ONKICK – This will be triggered any time a user, including yourself, is kicked from a channel.
Sub ONKICK(Nickname,Host,Channel,WhoKicked,Reason,ServerNumber) The Nickname was the person who was kicked, and WhoKicked is the user who performed the kick (Who would have thought people would do such things) ‘Host’ is the one of the ‘Nickname’ (who was kicked)
ONBAN – This will be triggered any time a user, including yourself, is banned rom a channel.
Sub ONBAN(NickName,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber) The Nickname was the person who was banned, and then the Nickname”s Host. The ModeSetter and ModeSetterHost is who set the ban, and then the Channel it was performed in.
>
ONMODE – This will be triggered any time a mode change happens inside a channel.
Sub ONMODE(Channel,ModeSetter,Mode,ServerNumber) The ModeSetter is the user or perhaps the Bot who set the Mode. Mode can contain just one mode, or a multitude of them, they will all need to be parsed if you wish to get extended data.
ONINVITE – This will be triggered any time a user invites you to a channel.
Sub ONINVITE(Nickname,Channel,ServerNumber)
ONOP – This will be triggered any time that a nick is op”ed or deop”ed in a channel.
Sub ONOP(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONHALFOP – This will be triggered any time that a nick is halfop”ed or dehalfop”ed in a channel.
Sub ONHALFOP(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONVOICE- This will be triggered any time that a nick is voice”ed or devoice”ed in a channel
Sub ONVOICE(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONNOTICE – This is triggered any time a notice is sent to you by another user.
Sub ONNOTICE(Message,Nickname,Host,ServerNumber)
ONQUIT – This is triggered any time a usr quits from a server. It will be triggered for each channel the user is on that you are also on, so it can trigger multiple times.
Sub ONQUIT(Nickname,Host,Reason,ServerNumber)
ONWHOISREPLY – This event is trigger for all data for a /whois command.
Sub ONWHOISREPLY(Nickname,Trigger,Reply,ServerNumber)
ONCTCPREPLY – This event is triggered when you get a CTCP Reply from another user , IE: when you /version someone.
Sub ONCTCPREPLY(Nickname,CTCP,Reply,ServerNumber)
ONAWAY – This event is run when you set yourself as away, or return. Away is TRUE when you set yourself as away, and FALSE when you return. Reason will be blank on your return, and Time is in ticks.
Sub ONAWAY(Away,Reason,Time,ServerNumber)
ONCONNECT – This event fires after server has received end of MOTD message (Or the NO MOTD Message) when connecting to a server, and has done all autochannels joins and autoperforms.
Sub ONCONNECT(ServerNumber)
ONCHATTEXT – This eventis fired with a regular DCC Chat Message. Sub ONCHATTEXT(Nickname, Message,ServerNumber)
ONCHATACTION – This event is fired with a DCC Chat Action Message.
Sub ONDCCACTION(Nickname, Message,ServerNumber)
ONCHATCONNECT – This event fires when you establist a DCC Chat Connection. ChatType is either INBOUND or OUTBOUND.
Sub ONCHATCONNECT(ChatType,Nickname,ServerNumber)
ONCHATCLOSE – This event fires when a DCC Chat Connection has ended. ChatType is either INBOUND or OUTBOUND.
Sub ONCHATCLOSE(ChatType,Nickname,ServerNumber)
ONFILECONNECT – This event fires when you establist a DCC File Session. FileType is either INBOUND or OUTBOUND.
Sub ONFILECONNECT(FileType,Nickname,ServerNumber)
>
ONFILECLOSE – This event fires when a DCC File Session has ended. FileType is either INBOUND or OUTBOUND. Completed is either True or False, whether the transfer was successful or not.
Sub ONFILECLOSE(FileType,Nickname,Completed,ServerNumber)
BUDDYLIST – This event is triggered when a user goes OFFLINE or ONLINE in your buddylist. Status will either equal ONLINE or OFFLINE.
Sub BUDDYLIST(Nickname,Status,ServerNumber)
ONBNCCONNECT – This event is fired when BNC Connections are established. The data is the Data being sent by the server.
ONBNCCONNECT = ServerNumber when finished sending commands. Function ONBNCCONNECT(Data,ServerNumber) . BNC has extra identifiers for issuing SendCommand lines to pass parameters from this function, obtained for the data in the BNC Tab in the Server Editor. $bncserver is the BNC Server name. $bncport is the BNC Server Port Number. $bncpass is the password required, and $bncuser is a username, if required. A quick example to send the password when connecting to a BNC Server would be....for more info go to www.icechat.net
Sub ONJOIN(Nickname,Host,Channel,ServerNumber)
The Nickname is the user who joined the Channel, with the specified Host for the user. This will also fire for yourself.
ONPART -This will be triggered any time a user leaves a channel, including yourself.
Sub ONPART(Nickname,Host,Channel,Reason,ServerNumber)
The Nickname is the user who parted the Channel, with the specified Reason (if a reason was used) The user”s Host is also sent.
ONCTCP – This will be triggered any time a user CTCP”s you.
Sub ONCTCP(Nickname,Data,ServerNumber) When a CTCP Notice is sent to you, and you do not have CTCP Replies Disabled in Options (Under Flood Settings), this event is triggered, allowing you to make your own custom CTCP commands, or reply to standard ones (VERSION, FINGER,PING, etc). Data can contain just one word, like PING, or a series of words, all depending what the Nickname sent you.
ONTEXT – This will be triggered any time there is a channel message.
Sub ONTEXT(Message,Channel,Nickname,Host,ServerNumber)
ONACTION – This will be triggered any time there is a channel action.
Sub ONACTION(Message,Channel,Nickname, Host,ServerNumber)
ONQUERY – This will be triggered any time there is a query/private messsage.
Sub ONQUERY(Message,Nickname,Host,ServerNumber)
ONQUERYACTION – This will be triggered any time there is a action performed in a query.
Sub ONQUERYACTION(Message,Nickname,Host,ServerNumber)
ONNICK – This will be triggered any time there is a nick name change.
Sub ONNICK(NewNick,OldNick,ServerNumber)
ONKICK – This will be triggered any time a user, including yourself, is kicked from a channel.
Sub ONKICK(Nickname,Host,Channel,WhoKicked,Reason,ServerNumber) The Nickname was the person who was kicked, and WhoKicked is the user who performed the kick (Who would have thought people would do such things) ‘Host’ is the one of the ‘Nickname’ (who was kicked)
ONBAN – This will be triggered any time a user, including yourself, is banned rom a channel.
Sub ONBAN(NickName,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber) The Nickname was the person who was banned, and then the Nickname”s Host. The ModeSetter and ModeSetterHost is who set the ban, and then the Channel it was performed in.
>
ONMODE – This will be triggered any time a mode change happens inside a channel.
Sub ONMODE(Channel,ModeSetter,Mode,ServerNumber) The ModeSetter is the user or perhaps the Bot who set the Mode. Mode can contain just one mode, or a multitude of them, they will all need to be parsed if you wish to get extended data.
ONINVITE – This will be triggered any time a user invites you to a channel.
Sub ONINVITE(Nickname,Channel,ServerNumber)
ONOP – This will be triggered any time that a nick is op”ed or deop”ed in a channel.
Sub ONOP(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONHALFOP – This will be triggered any time that a nick is halfop”ed or dehalfop”ed in a channel.
Sub ONHALFOP(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONVOICE- This will be triggered any time that a nick is voice”ed or devoice”ed in a channel
Sub ONVOICE(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
ONNOTICE – This is triggered any time a notice is sent to you by another user.
Sub ONNOTICE(Message,Nickname,Host,ServerNumber)
ONQUIT – This is triggered any time a usr quits from a server. It will be triggered for each channel the user is on that you are also on, so it can trigger multiple times.
Sub ONQUIT(Nickname,Host,Reason,ServerNumber)
ONWHOISREPLY – This event is trigger for all data for a /whois command.
Sub ONWHOISREPLY(Nickname,Trigger,Reply,ServerNumber)
ONCTCPREPLY – This event is triggered when you get a CTCP Reply from another user , IE: when you /version someone.
Sub ONCTCPREPLY(Nickname,CTCP,Reply,ServerNumber)
ONAWAY – This event is run when you set yourself as away, or return. Away is TRUE when you set yourself as away, and FALSE when you return. Reason will be blank on your return, and Time is in ticks.
Sub ONAWAY(Away,Reason,Time,ServerNumber)
ONCONNECT – This event fires after server has received end of MOTD message (Or the NO MOTD Message) when connecting to a server, and has done all autochannels joins and autoperforms.
Sub ONCONNECT(ServerNumber)
ONCHATTEXT – This eventis fired with a regular DCC Chat Message. Sub ONCHATTEXT(Nickname, Message,ServerNumber)
ONCHATACTION – This event is fired with a DCC Chat Action Message.
Sub ONDCCACTION(Nickname, Message,ServerNumber)
ONCHATCONNECT – This event fires when you establist a DCC Chat Connection. ChatType is either INBOUND or OUTBOUND.
Sub ONCHATCONNECT(ChatType,Nickname,ServerNumber)
ONCHATCLOSE – This event fires when a DCC Chat Connection has ended. ChatType is either INBOUND or OUTBOUND.
Sub ONCHATCLOSE(ChatType,Nickname,ServerNumber)
ONFILECONNECT – This event fires when you establist a DCC File Session. FileType is either INBOUND or OUTBOUND.
Sub ONFILECONNECT(FileType,Nickname,ServerNumber)
>
ONFILECLOSE – This event fires when a DCC File Session has ended. FileType is either INBOUND or OUTBOUND. Completed is either True or False, whether the transfer was successful or not.
Sub ONFILECLOSE(FileType,Nickname,Completed,ServerNumber)
BUDDYLIST – This event is triggered when a user goes OFFLINE or ONLINE in your buddylist. Status will either equal ONLINE or OFFLINE.
Sub BUDDYLIST(Nickname,Status,ServerNumber)
ONBNCCONNECT – This event is fired when BNC Connections are established. The data is the Data being sent by the server.
ONBNCCONNECT = ServerNumber when finished sending commands. Function ONBNCCONNECT(Data,ServerNumber) . BNC has extra identifiers for issuing SendCommand lines to pass parameters from this function, obtained for the data in the BNC Tab in the Server Editor. $bncserver is the BNC Server name. $bncport is the BNC Server Port Number. $bncpass is the password required, and $bncuser is a username, if required. A quick example to send the password when connecting to a BNC Server would be....for more info go to www.icechat.net
Comments
Post a Comment