Event BotClanRankChanged

From StealthBot Wiki Backup
Revision as of 22:21, 10 September 2010 by Ribose (talk) (Arguments)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The StealthBot scripting event, Event_BotClanRankChanged() occurs when the bot is promoted or demoted in a WarCraft III Clan.

History

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

Syntax

Sub Event_BotClanRankChanged(NewRank)
    ' ...
End Sub

Arguments

Note that once this event fires, the internal clan rank has been changed, so in order to know the old rank for some task, you may want to store Clan.Self.Rank in a global variable.

Example

See also