- public class WoW extends Script {
- private String getAxeName;
- public static int whatAxe;
- public boolean onStart(String[] args) {
- getAxeName = args[0].toLowerCase();
- whatAxe = GetAxe();
- return true;
- }
- public int GetAxe() {
- if( getAxeName.contains("b")) {
- return 2323; // BRONZE AXE ID WRONG ATM!!!
- } else if( getAxeName.contains("i")) {
- return 2333; //IRON AXE ID WRONG ATM!!
- } else if( getAxeName.contains("s")) {
- return 3231; //STEEL AXE ID WRONG ATM
- } else if( getAxeName.contains("l")) {
- return 2332; //MITHRIL AXE WRONG ID ATM!!
- } else if( getAxeName.contains("d")) {
- return 2323; //ADAMANT AXE WRONG ID ATM!!!
- } else if( getAxeName.contains("r")) {
- return 3243; //RUNE AXE WRONG ID ATM!
- } else if( getAxeName.contains("g")) {
- return 2322; //DRAGON AXE WRONG ID ATM!!
- }
- return -1;
- }
- }
Posted by mofuckin illu on Wed 9th Apr 14:52 (modification of post by view diff)
download | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.