29.06.2012, 07:30
i see a mistake in ur command
it is
if (strcmp("/opencl", cmdtext, true, 10))
but should be
if(strcmp(cmd, "/opencl", true) == 0)
it is
if (strcmp("/opencl", cmdtext, true, 10))
but should be
if(strcmp(cmd, "/opencl", true) == 0)