Modules/SebasIRC/ircDisconnect

From Multi Theft Auto: Wiki
Revision as of 16:25, 21 July 2016 by ThePiotrek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module SebasIRC. You must install this module to use this function.


This function disconnects the server from the IRC server it's connected to.

Syntax

bool ircDisconnect( [ string reason = "MTABot" ] )

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • reason : The quit reason.

Returns

Returns true if successfully disconnected from the server, false otherwise.

Example

-- Example here

See also

Connection:

Channel:

Bot: