31.10.2016, 16:32
There's nothing wrong from what I can see in the code. Use the crashdetect plugin and see if you get any errors in your console when you use this command. You should avoid dcmd... if you're going to convert anything, convert it to ZCMD or YCMD.