Posted 19 December 2012 - 02:58 AM
hi, i`ve got a quick-mouse related question.
Lets say I have a piece of code to check if a letter of a word was pressed
how can i make it so that the full word ("PROGRAMS") is clickable? and when I curently click any other mouse button, the program stops running, how to prevent that?
Lets say I have a piece of code to check if a letter of a word was pressed
event, p1, p2, p3 = os.pullEvent(mouse_click)
if p2==21 and p3==18 then
shell.run("programs/programMenu")
end
how can i make it so that the full word ("PROGRAMS") is clickable? and when I curently click any other mouse button, the program stops running, how to prevent that?