Thread: [PI] Item Command

Results 1 to 3 of 3
  1. #1 [PI] Item Command 
    Registered Member
    Archspire's Avatar
    Join Date
    May 2011
    Age
    30
    Posts
    1,764
    Thanks given
    385
    Thanks received
    514
    Rep Power
    222
    This is what I'm trying to do, I'm making my server into spawn but I don't feel like going through every item adding them into a restricted array. I'd like to make it like if you type a word say "Primal" anything with the words primal in it on the item list can't be spawned.

    Does anyone have any hints for me as to how I would do this? Will rep ;D
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    if (c.getItems().getItemName(command.substring(5)).co ntains("primal"))
    return;
    Reply With Quote  
     

  3. #3  
    Donator Johnny Cage's Avatar
    Join Date
    Aug 2011
    Posts
    90
    Thanks given
    19
    Thanks received
    2
    Rep Power
    14
    Omg, Harlan. I wub you.
    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. [PI] Item Command
    By Spider- in forum Help
    Replies: 6
    Last Post: 09-03-2011, 05:17 PM
  2. Better 'Get Item ID' command
    By TheRedArmy in forum Snippets
    Replies: 14
    Last Post: 06-06-2011, 11:12 PM
  3. [PI] Item command
    By Nighel in forum Help
    Replies: 6
    Last Post: 12-06-2010, 11:07 PM
  4. 614 item command help
    By Rsp Ownz in forum Help
    Replies: 0
    Last Post: 08-20-2010, 04:13 AM
  5. ::item command Finding your item?
    By zx Bubbles zx in forum Requests
    Replies: 10
    Last Post: 11-10-2008, 06:41 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
  •