Modules/SebasIRC/ircConnect
Jump to navigation
Jump to search
This function is provided by the external module SebasIRC. You must install this module to use this function. | |
This function will set a connection to the IRC Server.
Syntax
bool ircConnect(string ip, int port, string nickName, string channel)
Required arguments
- ip: The IP from the IRC.
- port: The port from the IRC.
- nickName: The nickname for bot.
- channel: Channel name to join.
Returns
True if connected, otherwise false.
Example
-- Example
See also
Connection:
Channel:
- ircJoin
- ircPart
- ircSay
- ircNotice
- ircInvite
- ircSetChannelMode
- ircGetChannelModes
- ircSetChannelTopic
- ircGetChannelTopic