Thanks perfect =D
And now how get (type)?
if (!str_said.contains(player)) {
str_said.add(player);
speak = getSpeak("strength");
speak_finally = getSpeak("finally");
if (speak != null && speak_finally!= null) {
type(speak + skills.getStatic(Skill.STRENGTH)
+ speak_finally);
}
}
Chatbox.MessageType
is contains?
Or
message.contains
???
That's what I was thinking of crazy things, I'm a little confused, but I want to get the current value of skill, so I want to understand how the getDynamic, how could get the current level or xp rest to evolve, something like that.
To get the current level of each skill and put in variables.
int aglt;
public int getAglt() {
return aglt= skills.getDynamic(Skill.AGILITY);
}
public int setAglt(int aglt) {
return this.aglt= skills.getDynamic(Skill.AGILITY);
}
Work that way?
How do I get a script RSBot 1.x and get ready for work in osbot 2.x?
It boasts some old scripts that are legal, but no longer work.
I wish to make it work.
Thanks