Right Clicking signs causes an event to happen?

Discussion in 'Plugin Development' started by Lime Studios, Jan 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Lime Studios

    Hi, I was wondering if anyone knows of a way to run an event after clicking a specific sign? For example you have 3 signs, the first one, sign 1, once right clicked on prints "test 1" in the chat window. The second sign, sign 2, once right clicked on will print "test 2" in the chat window. And lastly the third sign, sign 3, would print "test 3" in the chat window. Any ideas? Please comment anything that could possibly help!

    Many Thanks!
     
  2. you would have to store the location of the sign i guess and then what should happen at that signs location when clicked.

    Edit: or if it is just text you are after there is a sign.gettext method
     
  3. Offline

    robhol

Thread Status:
Not open for further replies.

Share This Page