return function(gate, argv) Gate.setportstate(gate, 2, toboolean(argv[1]) and 1 or 0) end