DEF GESTUREFILTER Script { eventIn MFString lineInput eventOut MFString chat eventOut SFInt32 gesture field SFString string "" field MFString gestures [ "/G1","/G2","/G3","/G4", "/G5","/G6","/G7","/G8","/G9", "/g1","/g2","/g3","/g4", "/g5","/g6","/g7","/g8","/g9" ] field MFInt32 gesture_id [ 1,2,3,4,5,6,7,8,9, 1,2,3,4,5,6,7,8,9 ] url "javascript: function findGesture(gesture) { g = new String(gesture); if(-1 != (index = string.indexOf(g,0))) { if(g.charAt(0) == '/') { // Escape... string = string.substring(0,index) + string.substring(index+g.length,string.length); } return true; } return false; } function lineInput(value,time) { string = value[0]; for(i=0;i