I remember how things can be different between Adventure Maker and Visionaire, so yes just forget about code and start using action tabs
This is more or less how it works:
1 - create a new scene ('+' icon in the column on the left) and name it as you want
2 - change your scene properties (background image, music, etc)
3 - add action parts if you need (for the whole scene, "at beginning" or "at end" of scene, for example - which are executed automatically when the scene is loaded, or when you leave it)
4 - locate the scene objects window (to create pictures, buttons, hotspots), then:
- create a scene object for each future button ('+' icon in the middle column)
- for each button, create a new hotspot area (it's the blue square icon named 'create and edit object areas')
- edit the settings of the selected scene object in the lower window (properties, actions, conditions...) --> use the action tab at the bottom of the screen to enter the script for your elevator button
5 - write your scripts with action parts.
script1: 'when cursor enters object area' --> set cursor 'take' (rollover on)
script2: 'when cursor leaves object area' --> set cursor 'arrow' (rollover off)
script3: 'on left click' --> what happens when you click...
Quick note about Conditions:
On the contrary to Adventure Maker, you can create as many conditions as you want in VS.
Usually if you want to show/hide a picture in VS, you have to link the scene object with a condition (in the bottom properties tab). Add a condition in the "Condition" area. When the condition is false, the button is hidden, and when the condition is true, the button is visible. You can check "negate" to invert the visibility. However you cannot use variables to show/hide dierctly a picture, so you always have to use conditions somewhere in your Actions script.
Finally, a quick example:
If you want to display a hidden picture only when 'variable1' is equal to 5, then you have to create an additional condition like in the following script:
--* create a variable named variable1 *--
--* create a condition to show/hide the picture, name it "condition1" and set it to false *--
If variable 'variable1' = 5
change condition 'condition1' to true -- this will show the picture if 'condition1' is linked to the scene object of the picture
Knowing this, you should be able to convert your vbscript to VS Action parts.
Example with an extract of your code above:
If bot2 = 0 then lift = 0
If bot2 = 1 then lift = 1
If bot2 >= 2 then lift = 2
If bot2 = -1 then lift = -1
Would need the following Action parts:
If value 'bot2' = 0
set variable 'lift' = 0
if value 'bot2' = 1
set variable 'lift' = 1
if variable 'bot2' >= 2
set variable 'lift' = 2
if variable 'bot'2' = -1
set variable 'lift' = -1