Modules/SebasIRC/ircDisconnect: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Paul Cortez (talk | contribs)  (Created page with '{{ml_irc}} __NOTOC__ {{ModuleFunction|SebasIRC}}  This function disconnects the server from the IRC server it's connected to.  ==Syntax== <syntaxhighlight lang="lua"> bool ircDisconnect() </cod…')  | 
				ThePiotrek (talk | contribs)  mNo edit summary  | 
				||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
==Syntax==  | ==Syntax==  | ||
<syntaxhighlight lang="lua">  | <syntaxhighlight lang="lua">  | ||
bool ircDisconnect()  | bool ircDisconnect( [ string reason = "MTABot" ] )  | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
===Optional Arguments===   | |||
{{OptionalArg}}   | |||
*'''reason :''' The quit reason.  | |||
===Returns===  | ===Returns===  | ||
| Line 17: | Line 21: | ||
-- Example here  | -- Example here  | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
[[pl:Modules/SebasIRC/ircDisconnect]]  | |||
==See also==  | ==See also==  | ||
{{Modules/SebasIRC/Functions}}  | {{Modules/SebasIRC/Functions}}  | ||
Latest revision as of 16:25, 21 July 2016
| 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:
- ircJoin
 - ircPart
 - ircSay
 - ircNotice
 - ircInvite
 - ircSetChannelMode
 - ircGetChannelModes
 - ircSetChannelTopic
 - ircGetChannelTopic