Code
function job_state_change(stateField, newValue, oldValue) if stateField == 'Offense Mode' then if newValue == 'Normal' then enable('main','sub','range') else disable('main','sub','range') end end end
I need to know how to write it so I can include more than one offense mode in this arguement, how do I have to format the 'Normal'? Any help is greatly appreciated!