Duplicate Case error for switch command

@cr0sh, You can't make function calls for a case statement. The complier is expecting constants.

Ah, you're right; just tried it in the IDE. It's too bad that wouldn't work (I think it would work in PHP - not sure). The logic I think is sound, at least...

;D

Oh well...

:-/