Command: ole.Port;
Syntax: ole.Port;
Return: int

Get or set the port on which you are connected to the IRC server. If you want to set the port, you must be disconnected from IRC.

Example:
var port=ole.Port;
ole.Port=6667;

See also: Name, Mode, Server, User, Connect, Disconnect


Home|Scripting