Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
Oh, true. Anyway, given the way it now works, it's not necessary anymore.