Enabling/Disabling the IR reciver

I need a shell script to enable and disable the IR reciever. I’m only just starting to try to learn a bit about the terminal so I’m rather limited on info here. I just want a program that will disable the remote on use of a script because, being in boarding school, people are a bit too fiddly with my stuff. especially when they find that pressing ‘menu’ will annoy me to no end and manually disabling the amn thing takes ages.

Any ideas?

Model: MacBook 80 gig
AppleScript: 2.1.1
Browser: Safari 419.3
Operating System: Mac OS X (10.4)