Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Sometimes when admins wanna kick users in a world, they failed to do so cuz some username are quite long, for example " blaaaaaaaa", but then the bot will recognize it as "blaaa". So I wanna know how would u solve this problem.
This length thing is server-side so it's not that simple to solve?
solution 1. (FAIL)
foreach users in players{
if(users.username.Startswith("bla")//target found
}
this is not accurate as if goeyfunnnnnnnn is to be kicked, goeyfunn will be kicked instead.
solution2 (Possible)
foreach users in players{
if(user.usrname.startswith("bla")TBK.Add(user.usrid);
}
tell admins which to choose?
the second solution may not be the best solution, but how would u solve this problem?
Offline
Have certain characters that will be ignored, replace ',' to '' for instance.
#kick yolooooooooo
#kick yolo,ooo,ooo,oo
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Offline
CupCake handles this. You could look in its source
Offline
[ Started around 1743879149.0835 - Generated in 0.030 seconds, 14 queries executed - Memory usage: 1.39 MiB (Peak: 1.5 MiB) ]