Thread: [PI] small easy problem need help

Results 1 to 3 of 3
  1. #1 [PI] small easy problem need help 
    Registered Member ARshadow's Avatar
    Join Date
    Aug 2011
    Posts
    470
    Thanks given
    30
    Thanks received
    41
    Rep Power
    53
    What have I done wrong with this command? After I added it in every other command it sends the message "there you go!"
    here it is

    Code:
    if (playerCommand.equals("barrage")) {
    			}if (c.inWild()) {
    c.sendMessage("You cannot use this command in the wilderness!");
    } else {
                            c.getItems().addItem(555, 500);
    			c.getItems().addItem(560, 500);
    			c.getItems().addItem(565, 500);
    			c.sendMessage("There you go!");
    			
    }
    Please help, im a new coder you can laugh at me all you want I just need the help.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2011
    Posts
    1,140
    Thanks given
    385
    Thanks received
    398
    Rep Power
    474
    Code:
    		if (playerCommand.equals("barrage")) {
    			if (c.inWild()) {
    				c.sendMessage("You cannot use this command in the wilderness!");
    			} else {
                            	c.getItems().addItem(555, 500);
    				c.getItems().addItem(560, 500);
    				c.getItems().addItem(565, 500);
    				c.sendMessage("There you go!");
    			}
    		}
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member ARshadow's Avatar
    Join Date
    Aug 2011
    Posts
    470
    Thanks given
    30
    Thanks received
    41
    Rep Power
    53
    thanks bro!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 11-17-2010, 06:48 AM
  2. 2 small easy but sad questions
    By @Strp@ in forum Help
    Replies: 4
    Last Post: 01-26-2010, 04:24 AM
  3. An Easy Small Pk box (My First)
    By Meet Willy in forum Tutorials
    Replies: 12
    Last Post: 05-11-2008, 11:30 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •