Results 1 to 6 of 6

Thread: Getting pulls left from the gCLI

  1. #1
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,489

    Default Getting pulls left from the gCLI

    Would it make sense for the gCLI command "hagnk" without arguments to tell me how many pulls I have left? I'm know I could write my own script, but it seems like a good idea.

    Right now I have to open up the Item Manager, which won't work when I'm force to play via a text terminal. (I don't actually ascend when I'm text only, but still)

  2. #2

    Default

    I don't have any thoughts either way, but from the CLI you can use
    Code:
    ash pulls_remaining()

  3. #3
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    923

    Default

    That looks like an alias waiting to happen!

  4. #4
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,751

    Default

    Or you could just type in pulls_remaining and get the result. Like any other ASH command...

  5. #5
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,489

    Default

    Or you could just type in pulls_remaining and get the result. Like any other ASH command...
    Originally Posted by Theraze View Post
    Oooh, that's cool. I never figured out that worked with "built in" ash function.

  6. #6
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,751

    Default

    Yep. And items that need a single argument can just be given it. So while there may not be a historical gCLI command, you can just do "historical_price filthy poultice" or whatever. It makes ASHREF even more useful... if it shows up in either ASHREF or HELP, you can see it in gCLI.
    > help histo

    No matching commands found!

    > ashref histo

    float historical_age( item )
    int historical_price( item )

    > historical_price filthy poultice

    Returned: 170

Similar Threads

  1. Feature Do not try to pull an item if you are out of pulls
    By icon315 in forum Bug Reports
    Replies: 2
    Last Post: 11-11-2011, 07:18 PM
  2. Replies: 4
    Last Post: 06-03-2011, 10:12 PM
  3. Replies: 0
    Last Post: 05-03-2011, 10:00 PM
  4. This made my gCLI text to be left aligned instead of right
    By fianor in forum Scripting Discussion
    Replies: 5
    Last Post: 10-22-2010, 05:17 AM
  5. Feature - Rejected Account for Free Pulls in storage_amount()
    By bumcheekcity in forum Bug Reports
    Replies: 1
    Last Post: 06-20-2010, 03:08 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
  •