I honestly can't see what the problem is, this is a mod of an existing plugin which appears to have ceased development and I just need a little extra functionality for it to make my job easier, I've copied GetCmdArg from lower down in the code, changed the given values but this is still what I get