Results 1 to 6 of 6

Thread: Depositting , buying pots

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Depositting , buying pots

    i have the porb that i have no idea how to deposit cash and potions

  2. #2
    Normal User korzeniowy's Avatar
    Join Date
    Aug 2012
    Location
    Netherlands
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    18
    Rep Power
    5

  3. #3
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    Deposit gold

    say("hi")
    wait(500)
    npcsay("deposit all")
    wait(500)
    npcsay("yes")


    Sell vials

     if itemcount(283) > 0 or itemcount(284) > 0 or itemcount(285) > 0 then
    say("hi")
    wait(500)
    npcsay("vials")
    wait(500)
    npcsay("yes")

  4. #4
    iBot User
    Join Date
    Dec 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    do i have to put some kind of waypoints to depot or not ? and when i deposit gold can i put like it deposits when he have 3000 gold on him ?

  5. #5
    iBot User
    Join Date
    Dec 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by PromB View Post
    Deposit gold

    say("hi")
    wait(500)
    npcsay("deposit all")
    wait(500)
    npcsay("yes")


    Sell vials

     if itemcount(283) > 0 or itemcount(284) > 0 or itemcount(285) > 0 then
    say("hi")
    wait(500)
    npcsay("vials")
    wait(500)
    npcsay("yes")
    do i have to put some kind of waypoints to depot or not ? and when i deposit gold can i put like it deposits when he have 3000 gold on him ?

  6. #6
    Normal User xavizus's Avatar
    Join Date
    Jun 2013
    Location
    Japan
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    4
    Quote Originally Posted by S_M_A_J View Post
    do i have to put some kind of waypoints to depot or not ? and when i deposit gold can i put like it deposits when he have 3000 gold on him ?
    S_M_A_J - When you mean deposit gold, you mean to go to the bank right? if so, you need to make a waypoint to the banker, and then when your character have reached that waypoint you have to make an action - which have the following code:
    PHP Code:
    if(itemcount(3031) > 3000then
    say
    ("hi")
    wait(500)
    npcsay("deposit all")
    wait(500)
    npcsay("yes")
    end 
    EDIT:

    Notice this is just for gold. You could do this for all types of Gold / Platinum / Crystal coin. Thought this is a bit more complex
    PHP Code:
    TotalGold = (itemcount(3031) + (itemcount(3035) * 100) + (itemcount(3043) * 10000)) -- 3031 Gold coin3035 platinum coin3043 crystalcoin
    if(TotalGold 3000then 
    say
    ("hi")
    wait(500)
    npcsay("deposit all")
    wait(500)
    npcsay("yes")
    end 
    Last edited by xavizus; 06-06-2013 at 06:00 PM. Reason: item id of crystal coin and platinum coin added

Posting Permissions

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