<<SOLVED>> Byte Value Using a Lua Function

Hello,
@martin
Working on my first preset and starting to understand better how the Web Editor works between LUA and Functions to pass values. I need a little help starting my first LUA Script to do the following.

  1. Look at the Current Controls “Value”
  2. If the Value is “Less Than” or “Equal to” 127 — Set the Byte DEC to 2
  3. Else if “Greater Than” 127 — Set the Byte DEC to 4

This is necessary in order for me to scroll through the EMU Proteus 2 Instrument Banks
Byte 7 = Scrolls through the Instruments
Byte 8 = Changes Bank values between 2 and 4

Here is a image of my SysEx Control

could you share your function?