Results 1 to 4 of 4

Thread: Use destroy field on corspe

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Use destroy field on corspe

    Some one have any hotkey?

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    @ up
    It is destroying all the fields on screen not that from corspes.

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    I have something like that, but not tested.
    PHP Code:
    local CONSIDER_ITEMSMUST_TAKE = {"gold coin""platinum coin""whatever"}
    for 
    INDEX 0getnewmessages("Server Log").count do
        for 
    _ITEM in ipairs(CONSIDER_ITEMS) do
            if (
    getnewmessages("Server Log")[INDEX].text:find(ITEM)) then
                MUST_TAKE 
    true
            
    else
                
    MUST_TAKE false
            end
        end
    end
    if (MUST_TAKEthen
        local X
    Ytarget.posxtarget.posytarget.posz
        
    for 1gettile(XYZ).items[-1] do
            if (
    itemproperty(gettile(XYZ).items[i].id).iscorpse and not itemproperty(toptileitem(XYZ)).ismoveable and not itemproperty(toptileitem(XYZ)).iscorpsethen
                useitemon
    ("destroy field rune"XYZ)
            else
                
    moveitems(toptileitem(XYZ), ground(XYZ), ground(math.random(2), math.random(2), Z), 100)
            
    end
            useitem
    (toptileitem(XYZ), ground(XYZ))
        
    end
    end 

Posting Permissions

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