First of all thank you so much to anyone who takes their time to help me with this question. 
I am super new to scripting just started about 2 weeks ago, and I have menu items that allow different groups just like my key switches do. However I would like to be able to have the menu item change when the key switch is pressed.  
Basically when I hit note 0 I want kontakt to select item 1 in my menu. I tried with the select command but that seems to not work or I did it wrong. 
This way the user can either use a keyswitch or dropdown menu and still get visual feedback. 
Is this possible in Kontakt? This is what I have so far. 
on init
declare const $keyswitch1 := 0
declare const $keyswitch2 := 1
set_key_color($keyswitch1, $KEY_COLOR_RED)
set_key_color($keyswitch2, $KEY_COLOR_RED)
declare $current_state
  declare $count
    declare ui_menu $menu
    $menu := 1
    $count := 1
    while ($count < 14)
        add_menu_item ($menu, "Ethereal " & $count,$count)
        inc ($count)
    end while
end on
on note
disallow_group($ALL_GROUPS)
if ($current_state = 0)
    allow_group(0)
end if
if($current_state = 1)
    allow_group(1)
  end if
if ($EVENT_NOTE = $keyswitch1 or $menu = 1)
$current_state := 0
   select ($menu)
case 1
end select
    
end if
if ($EVENT_NOTE = $keyswitch2 or $menu = 2)
    $current_state := 1
select ($menu
case 2
end select
    
end if
end on