PHP Code:
if (playerchats&&startswith(itemset,#c)) {tokenize #c;
if (rightmousebutton&&timeout&&this.active=1){lay2
#t(1),mousex,mousey;}}
Yea, so it's not working, the timeout and this.active are there because it's part of a left mouse button script. Some assitance in trying to figure out how to get lay to work?