Log in

View Full Version : Need some scripting help



weeps
01-28-2012, 11:58 AM
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?

putonajonny
01-28-2012, 12:08 PM
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?

Const
BankRow = 3;
BankColumn = 4;

//...


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

weeps
01-28-2012, 12:46 PM
What do you mean? Like this?

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.

putonajonny
01-28-2012, 12:59 PM
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

vito107
01-28-2012, 01:07 PM
can anyone help me? i dont know how to add scripts to the bot and i do cant find a guide.
plz help me

weeps
01-28-2012, 01:15 PM
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.

putonajonny
01-28-2012, 01:30 PM
I trying to make a AIO crafting script. So i wont use dtm.

Use something like this:

Const
ItemBankRow = 2;
ItemBankColumn = 3;

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