ianobermiller / tibiatekbot

Automatically exported from code.google.com/p/tibiatekbot
3 stars 0 forks source link

Make Combobot non-case sensitive #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As the topic says!
Now Combobot is case sensitive (means you need to give the name in EXACTLY 
same wat that it's shown on the screen. So "Bubble" and "buBble" are 
different things) but it shouldn't. The reason why I left it case-
sensitive was dead-line so it need to fixed now.

Original issue reported on code.google.com by Oskari.V...@gmail.com on 19 Nov 2007 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by kingbiz...@gmail.com on 20 Nov 2007 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by kingbiz...@gmail.com on 21 Nov 2007 at 2:50

GoogleCodeExporter commented 9 years ago
There is a "better way" to do that. String has an ignore case property so you 
don't 
have to convert the name to lower case.

Original comment by ozzie.belazi on 21 Nov 2007 at 2:55

GoogleCodeExporter commented 9 years ago
I already told him, it's ok he can leave it like that for now.
string1.tolower = string2.tolower is a binary comparison, both strings must be
converted to lowercase before doing it, reduces performance, not good in loops

Original comment by cameri2...@gmail.com on 21 Nov 2007 at 2:58