boolean ifCmd() throws ScriptException {
		if (statementLength < 1)
			badArgumentCount();
		boolean value = false;
		boolean isNot = false;
		int i = 1;
		if (i < statementLength && statement[i].tok == Token.leftparen)
			i++;
		if (i < statementLength && statement[i].tok == Token.opNot) {
			i++;
			isNot = true;
		}
		if (i == statementLength)
			badArgumentCount();
		String str = (String) statement[i].value;
		value = viewer.getBooleanProperty(str);
		return (isNot ? !value : value);
	}