Modules/SebasIRC/ircChangeNick: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
__NOTOC__
__NOTOC__
{{ModuleFunction|SebasIRC}}
{{ModuleFunction|SebasIRC}}
<h2 style="margin:0; background:#990000; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#fff; padding:0.2em 0.4em;">This function is currently disabled in the ml_irc-rewrite branch!</h2>
{{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 21: 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: