The myChannel property is available through the Script Support Class.
'// will contain the bot's current channel at runtime. Public myChannel As String
Use myChannel as if it was any VBScript variable. Optionally prefix it with
The value of myChannel is stored anytime the bot's current channel changes. It is an empty string when not in a channel.
Do something if you are in the void.
If myChannel = "The Void" Then ' do something End If