Results 1 to 3 of 3

Thread: request pick up gold action.

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0

    request pick up gold action.

    to pick up gold ( or other named items )
    from ground [squares around u ] if no monster on screen.
    TO a specific backpack?


    possible? someone got it? or can make?
    I'd appriciate it

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    --[[ INIT START ]]--
    	local ITEMS = {"gold coin", "platinum coin"}
    	local BP_TO_MOVE = "red backpack"
    --[[ INIT END ]]--
    
    for x = -7, 7 do
    	for _,v in ipairs(ITEMS) do
    		moveitems(v, ground(posx+x, posy+x, posz), BP_TO_MOVE, 100)
    		wait(100, 200)
    	end
    end

  3. #3
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    thank you!

Posting Permissions

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