I'm not ashamed to admit this is my first script. The idea is to display a string when Link is holding up an item, like most modern Zelda games. It compiles correctly with all my other scripts, except... nothing happens.

Code:
ffc script itemstring {
  void run(int m){
	Waitframes(5);
	if (Link->Action == 4) { 
		Waitframes(5); Screen->Message(m); }
	if (Link->Action == 5) {
		Waitframes(5); Screen->Message(m); }
	}
}
What am I doing wrong?