Results 1 to 1 of 1

Thread: Gem Jar Storage Script

  1. #1

    Default Gem Jar Storage Script

    A quick script I hacked together, perfect for you people who haven't started storing gems in those 50-count jars yet. A better script will let you set jars a la Lich settings.

    This quickly stores your gems in certain jars. Very quickly. Like, it's going to spam the room. This is currently set up for EN gems, so set it as you will.

    For those of you who haven't bought the jars yet, they are currently being sold in Ta'Vaalor, Atlas room 6199.

    Code:
    jar = ["clear beaker", "azure beaker", "wavy bottle", "prismatic bottle", "narrow bottle", "mottled bottle", "speckled bottle", "violet bottle", "rainbow bottle", "multi bottle", "silver bottle", "amber beaker", "poppy beaker", "sooty beaker", 
    "ten-sided jar", "ash beaker", "viridian beaker", "heptagonal jar", "octagonal jar", "dove jar", "cerulean jar", "bulbous jar", "scarlet jar", "goldenrod jar", "spherical jar", "cubical jar", "triangular jar", "pentagonal jar", "amethyst jar"]
    gem = ["dragon's-tear emerald", "uncut diamond", "uncut emerald", "dragon's-tear ruby", "uncut ruby", "blue sapphire", "pink sapphire", "emerald blazestar", "scarlet despanal", "dragon's-tear diamond", "maernstrike diamond", "sylvarraend ruby", 
    "dragonseye sapphire", "ultramarine glimaerstone", "black opal", "lilac glimaerstone", "cerulean glimaerstone"]
    
    i = 0
    echo gem.length
    while i < gem.length
       fput "tap my " + gem[i]
       target_line = matchtimeout 2, "You tap", "What were you referring to?"
       if target_line =~ /You tap/
         fput "get my " + jar[i]
         target_line = matchtimeout 2, "You remove", "You already have that", "Get what?"
         if target_line =~ /You remove|You already have that/
           gem_line = String.new
           while gem_line !~ /I could not find what you were referring to/
             fput "get my " + gem[i]
             fput "put my " + gem[i] + " in my " + jar[i]
             gem_line = matchtimeout 2, "You put", "You add", "I could not find what you were referring to"
           end
           elsif target_line =~ /Get what?/
             echo "You need a " + jar[i] + " to store that gem with the current settings."
           end
           fput "put my " + jar[i] + " in my cloak"
         end
       i = i + 1
    end
    Last edited by Renian; 07-25-2008 at 06:34 PM.

Similar Threads

  1. Online Anonymous File Storage
    By Latrinsorm in forum Off-Topic
    Replies: 16
    Last Post: 02-16-2018, 01:57 PM
  2. Item Storage
    By Idalias in forum General Gemstone
    Replies: 14
    Last Post: 08-13-2017, 07:40 PM
  3. Storage List
    By Manamethis in forum General Gemstone
    Replies: 5
    Last Post: 11-14-2012, 09:48 PM
  4. 1. Storage Wars.
    By That Jay in forum GemStone Platinum
    Replies: 3
    Last Post: 10-25-2012, 08:40 PM
  5. What kind of PC storage medium do you use?
    By Ashliana in forum Off-Topic
    Replies: 31
    Last Post: 09-16-2009, 10:25 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
  •