JavaLikeCalc.JavaScript
//Events for commands process
for(off = 0, ev_rez = ""; (ev_cur=event.parse(0,"\n",off)).length; ) {
	if(ev_cur == "ws_BtPress:/apply")	this.attrSet("pgOpen",false);
	else ev_rez += ev_cur + "\n";
}
event = ev_rez;