Results 1 to 2 of 2

Thread: Withdraw brown mushrooms

  1. #1
    Premium User Glidarn's Avatar
    Join Date
    May 2012
    Location
    Stockholm, Sweden
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5

    Withdraw brown mushrooms

    Hello, as teh title says i need help with withdrawing brown mushrooms from a green backpack.

    I found a quara script for low lvl mages but he forgot the action where it suppose to do this.

    So basically what i want is that the char is suppose to withdraw 50 brown mushroom from "FoodDPBP"

  2. #2
    Normal User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    221
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    58
    Rep Power
    5
    PHP Code:
    local FoodBP "Blue Backpack" -- Name of DPBP
    local BP1 
    "Red Backapck" -- Were you want the FoodMainBP?
    local FoodName "brown mushrooms" -- FoodName
    local FoodToMove 
    positive(foodmax itemcount(FoodNameBP1))

    local foodmax 50 -- Max Food you want to Refill

    reachgrounditem
    ("depot"wait(400800)
    openitem("depot"wait(1000)
    openitem("depot chest""locker"wait(1000)
    openitem(FoodBP"depot chest"wait(1000)
    moveitems(FoodNameFoodBPBP1FoodToMovewait(1000

    not tested

Posting Permissions

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