it is on the line above the line you added, does it make a difference?
no, you are returning 0 somewhere which is causing the Server Unknown Command. What command system are you using? ZCMD? Also his version has more '{' brackets then '}' which will cause errors if you paste it in.