Anyways, thanks, Avalanche, it works now ^_^
I'll probably end up posting the plugin, although I don't know why anyone other than the crazy people on my server would want it...
__________________
STEPS IN TROUBLESHOOTING<insert anything here>: 1.Narrow down the problem to a specific condition or conditions. 2.Fix it.