Thread: Make a command that changes spell books

Results 1 to 2 of 2
  1. #1 Make a command that changes spell books 
    Registered Member

    Join Date
    Oct 2012
    Posts
    398
    Thanks given
    31
    Thanks received
    33
    Rep Power
    991
    I was wondering if someone could give me like an ::ancients command that puts your spell book to ancients. I know this is probably extremely easy but please bare with me I'm very new to coding.
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    if(playerCommand.equalsIgnoreCase("switch")) {
    (c.inWild));
    return;
    if(c.magic-book == 0) {
    c.magic-book = 1;
    c.sendMessage("You switch your magic book.");
    } else if(c.magic-book == 1) {
    c.magic-book = 2;
    c.sendMessage("You switch your magic book.");
    } else if(c.magic-book == 2) {
    c.magic-book = 0;
    c.sendMessage("You switch your magic book.");
    }
    }

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    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. [HUGE &FREE] C/C++ E-Books Collection - Over 200MB - 39 Books!
    By ProFiles in forum Application Development
    Replies: 8
    Last Post: 08-22-2012, 04:08 PM
  2. Replies: 5
    Last Post: 08-02-2010, 09:41 AM
  3. Replies: 2
    Last Post: 06-13-2010, 01:23 AM
  4. Cast Spell Command?
    By kacper in forum Help
    Replies: 0
    Last Post: 11-16-2009, 08:38 PM
  5. Switching spell books by 3 commands
    By ncarug02 in forum Configuration
    Replies: 14
    Last Post: 11-02-2008, 07:51 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •