Well; Personally there are a few things I would change.
- Change 'silk_Stall' to 'SILK_STALL' - Seeing as the item has a definite value, it should be given a name in all caps.
- Remove the 'MSG', 'EXP' and 'text' methods. Creating new methods just to shorten the length of a method name is pointless, not to mention method names shouldn't be in cap.
- Get rid of the 'else if' condition. Just make it 'else'. If a whole number is less than 20, it' going to automatically be good. All that you're doing with checking if it's less than 20 is adding more work on your PC.
Personally; I would have written it like this, or similar to this.
Code:
case 2560: //Quick Description here. 'Silk Stall Click'
if(playerLevel[17] >= 20) {
setAnimation(832);
addItem(SILK_STALL, 1);
addSkillExp(0, 17);
sendMessage("You still from the silk stall.");
} else sendMessage("Your thieving level isn't high enough to steal from this stall.");
break;