Modules/SebasIRC/ircChangeNick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '{{ml_irc}} __NOTOC__ {{ModuleFunction|SebasIRC}} Changes the name of your bot. ==Syntax== <syntaxhighlight lang="lua"> bool ircSay(string newNick) </syntaxhighlight> ===Required arguments=== * '''newNi…')
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
__NOTOC__
__NOTOC__
{{ModuleFunction|SebasIRC}}
{{ModuleFunction|SebasIRC}}
{{Modules/SebasIRC/Warning|This function is disabled in the ml_irc-rewrite branch!}}


Changes the name of your bot.
Changes the name of your bot.
Line 7: Line 8:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool ircSay(string newNick)
bool ircChangeNick(string newNick)
</syntaxhighlight>
</syntaxhighlight>


Line 20: Line 21:
-- Example here
-- Example here
</syntaxhighlight>
</syntaxhighlight>
[[pl:Modules/SebasIRC/ircChangeNick]]


==See also==
==See also==
{{Modules/SebasIRC/Functions}}
{{Modules/SebasIRC/Functions}}

Latest revision as of 16:55, 21 July 2016


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

WARNING: This function is disabled in the ml_irc-rewrite branch!

Changes the name of your bot.

Syntax

bool ircChangeNick(string newNick)

Required arguments

  • newNick: How you want your bot to be called.

Returns

Returns true if the nick was changed successfully, false otherwise.

Example

-- Example here

See also

Connection:

Channel:

Bot: