so i'd like to that my simba script finds like similar name for example i have a thing that right clicks players: for example name is "black56". i'd like it to find only the "black" part so the same script could find like "black57".
Printable View
so i'd like to that my simba script finds like similar name for example i have a thing that right clicks players: for example name is "black56". i'd like it to find only the "black" part so the same script could find like "black57".
Lots of useful stuff here: http://docs.villavu.com/simba/scriptref/string.html
Well in what format is the thing that you're trying to do?
Everything is done differently, there is not a magical way to accomplish something. If it's just names and every name starts with black, and every name is also the same font/size/spacing then you can search for a bitmap of the "black" part
You may find this old relic useful, the original thread seems to have been deleted but I found a copy on the Wayback Machine.
These routines helped me learn a lot about manipulating strings, some of these I still use as helper functions today.
https://web.archive.org/web/20130820...ad.php?t=82205