Command: ole.Connect(server,port,ssl);
Syntax: ole.Connect(string server,int port,bool ssl);
Return: nothing

Connect to an IRC server. This command works only if you are not already connected to a server. The server param is the name of the server, the port param is the port on which you want to connect and the ssl param is used to specify if this connection use the SSL protocol.

Example:
ole.Connect("irc.server.com",6667,false);
ole.Connect("irc.server2.org",6679,true);

See also: Name, Mode, Server, Port, User, Disconnect, IsConnected


Home|Scripting