Event BotClanRankChanged

From StealthBot Wiki Backup
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