ya thats what he want, but not sure if its the best way to go at things. You start out by switching to actions (the : after state=0) Then later have another colon in the same state, switching it back to conditions. You place your conditions first, then actions, and if you need conditions after actions, then you link it to a new state
what about:
:state=0:state=1
:state=1,SCANCODEKEYPRESSED=56:state=2
:sate=2:removeplrweapon=(current weapon),giveplrweapon=EAI\COMBATKNIFE,useweapon=0,giveplrweapon=(current weapon),state=0
but replace (current weapon) with the weapon the player will be holding at the time