29.08.2015, 12:11
Are you using any admin system than this one? Maybe it is interfering with it? I don't see any problem in your code at all except you are using PVars (which is slow) & are returning 0; on the cmd (which would result on Unknown Command)