Firstly, due to the way Internet Explorer copies things on this board you'll need to first paste the code into a program such as Notepad - Type //run notepad and then paste it there. After that, copy and paste it into your remotes so it's on multiple lines.
The next thing is, you cannot trigger ON TEXT events by yourself, they only trigger when someone else types !list. To detect your own words you need to use the ON INPUT event, see /help on input.
Regards,