MyChannel
Revision as of 16:05, 28 November 2009 by Ribose (talk) (Created page with 'The myChannel property is available through the Script Support Class. ==Development== <!-- unknown- does someone know? --> ==Documentation== '// will contain the bot's…')
The myChannel property is available through the Script Support Class.
Contents
Development
Documentation
'// will contain the bot's current channel at runtime. Public myChannel As String
Summary
The myChannel property will contain the current Battle.net channel name for the bot.
Usage
Use myChannel as if it was any VBScript variable. Optionally prefix it with SSC.
.
Value
The value of myChannel is stored anytime the bot's current channel changes. It is an empty string when not in a channel.
Alternative
In the new script system it may be preferred to use Channel.Name
to get the same information.
Examples
Do something if you are in the void.
If myChannel = "The Void" Then ' do something End If