kalo93
August 1st, 2010, 17:34
Difficulty: 0/10
Firstly, open up clicking.java or ClickingMost.java, whichever one you have.
Search for:
switch(c.actionButtonId) {
And underneath that, put this:
case 47130:
if(c.taskAmount <= 0) {
c.plrText = "I need another task, I should go speak to a slayer master.";
c.plrTextUpdateRequired = true;
}
else if(c.taskAmount == 1) {
String taskName = c.GetNpcName(c.taskID);
c.plrText = "I have to kill " +c.taskAmount+ " more " +taskName.replaceAll("_", " ");
c.plrTextUpdateRequired = true;
}
else {
c.plrText = "I have to kill " +c.taskAmount+ " more " +c.GetNpcName(c.taskID)+ "s";
c.plrTextUpdateRequired = true;
}
break;
Credits: Me (100%)
Firstly, open up clicking.java or ClickingMost.java, whichever one you have.
Search for:
switch(c.actionButtonId) {
And underneath that, put this:
case 47130:
if(c.taskAmount <= 0) {
c.plrText = "I need another task, I should go speak to a slayer master.";
c.plrTextUpdateRequired = true;
}
else if(c.taskAmount == 1) {
String taskName = c.GetNpcName(c.taskID);
c.plrText = "I have to kill " +c.taskAmount+ " more " +taskName.replaceAll("_", " ");
c.plrTextUpdateRequired = true;
}
else {
c.plrText = "I have to kill " +c.taskAmount+ " more " +c.GetNpcName(c.taskID)+ "s";
c.plrTextUpdateRequired = true;
}
break;
Credits: Me (100%)