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
Line 7: Line 7:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool ircSay(string newNick)
bool ircChangeNick(string newNick)
</syntaxhighlight>
</syntaxhighlight>



Revision as of 14:00, 26 August 2009


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


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: