containi is case sensitive, when the function wiki says that it should be case
insensitive.
Code:
remove_poser(id, name[]) {
new pName[32]
get_user_name(id, pName, 31)
if ((containi(pName, "BigBaller") == 0)) {
client_cmd(id,"name ^"[ADMIN] %s^"", name)
}
return PLUGIN_CONTINUE
}
The plugin would only change the username "BigBaller" if both B were capitalized, sooo I do believe this is a bug? unless of course
contain is the one that is case insenstive.
[EDIT]
I believe I corrected a mistake I made, however it would be nice if you guys could check into this still just to make sure im not losing my mind lol.
[EDIT #2]
Ok, I do believe the problem I was having constant string or "BigBaller" like that in the script. I changed it to all lower case and it worked flawlessly, or as it should, soo I guess it would make a good note to suggest that if others have same sort of problem.