Results 1 to 7 of 7

Thread: Need some scripting help

  1. #1
    Join Date
    Nov 2011
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need some scripting help

    I want my script to have a option to choose which spot the items are in (in a bank). Idk how i can do this.

    For exemple i want it to be like this

    Bankspot := number

    and then a procedure/function that will withdraw item from that spot.

    Any tips?

  2. #2
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by weeps View Post
    I want my script to have a option to choose which spot the items are in (in a bank). Idk how i can do this.

    For exemple i want it to be like this

    Bankspot := number

    and then a procedure/function that will withdraw item from that spot.

    Any tips?
    What do you mean? Like this?

    Simba Code:
    Const
      BankRow = 3;
      BankColumn = 4;

    //...


    WrithdrawItem(BankRow, BankColumn);   //This is a made up function

  3. #3
    Join Date
    Nov 2011
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by putonajonny View Post
    What do you mean? Like this?

    Simba Code:
    Const
      BankRow = 3;
      BankColumn = 4;

    //...


    WrithdrawItem(BankRow, BankColumn);   //This is a made up function
    When i use that it keep messing, up. Is row 1 and col 1 the first spot in the bank?

    I want to have a interger spot in the beginning of the script that alow the user to set up a bank spot for themself.
    Last edited by weeps; 01-28-2012 at 12:58 PM.

  4. #4
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by weeps View Post
    When i use that it keep messing, up. Is row 1 and col 1 the first spot in the bank?

    I want to have a interger spot in the beginning of the script that alow the user to set up a bank spot for themself.

    I am pretty sure 0,0 is the first spot, you are better off adding dtm detection for the item, do you need help on doing this? if so tell me the item

  5. #5
    Join Date
    Jan 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can anyone help me? i dont know how to add scripts to the bot and i do cant find a guide.
    plz help me

  6. #6
    Join Date
    Nov 2011
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by putonajonny View Post
    I am pretty sure 0,0 is the first spot, you are better off adding dtm detection for the item, do you need help on doing this? if so tell me the item
    I trying to make a AIO crafting script. So i wont use dtm.

  7. #7
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by weeps View Post
    I trying to make a AIO crafting script. So i wont use dtm.
    Use something like this:
    Simba Code:
    Const
      ItemBankRow = 2;
      ItemBankColumn = 3;

    WithdrawEx(ItemBankColumn, ItemBankRow , 28{amount}, ['ard', 'eath', 'her'{uptexts}])

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •