Event ClanMOTD

From StealthBot Wiki Backup
Jump to: navigation, search

The Event_ClanMOTD() scripting event occurs when the bot receives the WarCraft III clan message of the day (MOTD) text from Battle.net. This occurs at regular intervals (every 30 seconds) as a keep-alive and after joining a channel for bots on WarCraft III so that the bot knows of changes when the occur.

It is more convenient to use the value the bot stored already: Clan.MOTD.

History

The Event_ClanMOTD() event was added in StealthBot version 2.7 by Stealth by request of raylu.

Syntax

Sub Event_ClanMOTD(Motd)
    ' ...
End Sub

Arguments

  • Motd is a string representing the current clan message of the day.

Example

See also