11.08.2012, 00:09
strange, i think it should work, don't see any problems with this code. it might be that you not are using return 1; at the heal command or that you are using
if (strcmp("/heal", cmdtext, true, 5) == 0)
instead of
if(!strcmp("/heal", cmdtext, true, 5))
I don't thought that would be a problem tho, but you cold test it.
Edit: I was a little late :S
if (strcmp("/heal", cmdtext, true, 5) == 0)
instead of
if(!strcmp("/heal", cmdtext, true, 5))
I don't thought that would be a problem tho, but you cold test it.
Edit: I was a little late :S