Event ClanMOTD
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
.
Contents
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
- Event_BotClanInfo(ClanTag, Rank)
- Event_ClanMemberList(Username, Rank, Online)
- Event_ClanMemberUpdate(Username, Rank, Online)
- Event_ClanMemberLeaves(Username)
- Event_BotJoinedClan(ClanTag)
- Event_BotClanRankChanged(NewRank)
- Event_BotRemovedFromClan()
- Script events
- Scripting system