Basically I have a program which, among other things, registers an event listener with:
event.listen("modem_message",move)
I would like it to only respond once to receiving a message, but unfortunately each time I run the program it registers a 'new' listener, so it runs 'move' multiple times. So I tried to set it to unregister the listener at the start of the program, using:
event.ignore("modem_message",move)
But this doesn't work, seemingly because the current definition of 'move' is treated as different to the definition which was registered as a listener. So how would I go about remo