function onActionServerSide() { if (params[0] == "sendtext") for (temp.pl: playersinthechatroom) pl.triggerclient("weapon", this.name, "gettext", params[1]); }