private void execTrigger(Trigger trig, MUDObject mudObject, Client client) {
		String script = trig.getScript().getText();

		final int numLeftBrace = Utils.countNumOfChar(script, '{');
		final int numRightBrace = Utils.countNumOfChar(script, '}');

		if (numLeftBrace != 0 && numRightBrace != 0 && numLeftBrace == numRightBrace) {
			send(pgm.interpret(trig.getScript(), getPlayer(client), mudObject), client);
		}
	}