Okay, I searched the thread, and I saw this question but it wasn't answered.
Now, I made my script, and compiled it successfully, and I set that script to a sign. But it doesn't work. I'm not sure if it's a problem with the script, or what. For future, reference, here's the script I'm using...