Thanks Omoshu, but this is a rather technical version of what it does, so let me explain it much simpler:
The @Override above a function simply means that OSBot will use this function instead of the default function that's defined in the Script class (the one our script is extending from). You can also call the default function by doing the super() function inside of the function you're overriding (well it's useless in this case, because the Script class functions are empty).
>>Doesn't want to see naked fake sluts while browsing forums
>>Doesn't interest me, I like ladies not whores.
>>Makes thread about it
>>Get called gay.
Great job OSbot! You're reasoning and reading skills are obviously far more superior than mine considering 80% of you have gathered this "He must gay, because his definition of woman doesn't match mine of a slut."
One suggestion, and it's not because I am trying the same thing. But instead of using names to fight ONE monster, why don't you try scanning for local NPC around you, input the data into a list, so your able to choose more than one, then take the selection ids into a array, and your set!
Just a idea!