BotFlags

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 BotFlags property is available through the Script Support Class.

Development

Documentation

'// will contain the bot's current battle.net flags at runtime.
Public BotFlags As Long

Summary

The BotFlags property will contain the current Battle.net user flags for the bot.

Usage

Use BotFlags as if it was any VBScript variable. Optionally prefix it with SSC..

Value

The value of BotFlags is stored anytime the bot's flags update.

Alternative

In the new script system it may be preferred to use Channel.Self.Flags to get the same information.

Examples

Do something if you have operator status in the current channel;

If BotFlags And 2 Then
    ' do something
End If

See also