Results 1 to 3 of 3

Thread: Trash script

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Trash script

    Hey , ye simply im searching a script that throws worms , gp , flasks etc on a depot.

    And now dont come with " thats a bad thing" etc. thanks^^
    i found this one but its says i need to stay behind the guy on the depot but thats shows instanlty thats its me so i woulda like to stay far away or at the other depot etc.

    any help ?

    PHP Code:
    local trashItem = "worm"
    local trashItem2 = "gold coin"
    yoffset = 2
    xoffset = 0

    while (true) do
    moveitems(trashItem,"all", ground(posz + xoffset, posy + yoffset, posz), 1)
    wait(500)
    moveitems(trashItem2,"all", ground(posz + xoffset, posy + yoffset, posz), 1)
    wait(500)
    end
    Basically this will trash a depot 2 sqm north of you using worms and gold coins, change yoffset (currently 2, for 2sqm north) and xoffset (currently 0, but 1 would mean 1sqm right of you, 2 = 2sqm right of you, etc). Not tested it, so check debug window etc while using. It will do it constantly and may drastically increase your CPU usage. To disable it you must disable the action you've put it in.

  2. #2
    Normal User
    Join Date
    Jan 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    thats a bad thing

  3. #3
    Normal User
    Join Date
    May 2012
    Location
    England
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Change the xoffset and yoffset, e.g if you want to stand 5sqm south of him set yoffset to 5, if you want to stand 1sqm left and 5sqm south, set yoffset to -1 and xoffset to 5.

Posting Permissions

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