He knows, he just said that he tried that and it didn't work, so he's asking if he's doing something wrong or if there's a different way.
And I'm telling him that it literally has to work. /greenlight does nothing besides send
commandToServer('greenlight');If it doesn't work, then the server you're on broke /greenlight.
However, if you for some reason maintain that this does not work whatsoever, you could do this:
function setGreenLighthandicappedWay()
{
nmh_type.setValue("/greenlight");
nmh_type.send();
}