pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Advertising: Credit Card Consolidation - Cheap Car Insurance - Loans - Loans
paste-bin - collaborative debugging tool View Help

Posted by mofuckin illu on Wed 9th Apr 14:52 (modification of post by view diff)
download | new post

  1. public class WoW extends Script {
  2.     private String getAxeName;
  3.     public static int whatAxe;
  4.  
  5.     public boolean onStart(String[] args) {
  6.         getAxeName = args[0].toLowerCase();
  7.         whatAxe = GetAxe();
  8.         return true;
  9.     }
  10.       public int GetAxe() {
  11.           if( getAxeName.contains("b")) {
  12.             return 2323; // BRONZE AXE ID WRONG ATM!!!
  13.         } else if( getAxeName.contains("i")) {
  14.             return 2333; //IRON AXE ID WRONG ATM!!
  15.         } else if( getAxeName.contains("s")) {
  16.             return 3231; //STEEL AXE ID WRONG ATM
  17.         } else if( getAxeName.contains("l")) {
  18.             return 2332; //MITHRIL AXE WRONG ID ATM!!
  19.         } else if( getAxeName.contains("d")) {
  20.             return 2323; //ADAMANT AXE WRONG ID ATM!!!
  21.         } else if( getAxeName.contains("r")) {
  22.             return 3243; //RUNE AXE WRONG ID ATM!
  23.         } else if( getAxeName.contains("g")) {
  24.             return 2322; //DRAGON AXE WRONG ID ATM!!
  25.         }
  26.           return -1;
  27.     }
  28. }

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.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me
: