Modules/SebasIRC/ircConnect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool ircConnect(string ip, int port) | bool ircConnect(string ip, int port, string nickName, string channel) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required arguments=== | ===Required arguments=== |
Revision as of 20:03, 24 July 2009
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.
Returns
True if connected, otherwise false.
Example
-- Example
See also
Connection:
Channel:
- ircJoin
- ircPart
- ircSay
- ircNotice
- ircInvite
- ircSetChannelMode
- ircGetChannelModes
- ircSetChannelTopic
- ircGetChannelTopic