Event ClanMemberUpdate

From StealthBot Wiki Backup
Revision as of 08:20, 1 December 2017 by Davnit (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Event_ClanMemberUpdate scripting event occurs when a member of the clan changes his rank or online status.

To find the current values of a user's rank and online status, it is more convenient to use the collection of ClanMember objects stored in: Clan.Members.

History

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

Syntax

Sub Event_ClanMemberUpdate(Username, Rank, Online)
    ' ...
End Sub

Arguments

  • Username is a string containing the user's name.
  • Rank is the numeric rank you hold in your clan, a Battle.net clan rank.
  • Online is a numeric value representing the user's current online state.
  1. = Offline
  2. = Online

Example

See also