Difference between revisions of "BotFlags"

From StealthBot Wiki Backup
Jump to: navigation, search
m (Alternative)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:20, 1 December 2017

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