Results 1 to 5 of 5

Thread: Move assassin stars if out of crystaline arrows

  1. #1
    iBot User
    Join Date
    Sep 2012
    Location
    Poland
    Posts
    39
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    33 Post(s)
    Reputation
    10
    Rep Power
    5

    Move assassin stars if out of crystaline arrows

    Hi all

    I need script to move assasins stars to hand when there is no crystalline arrows.

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    @insectx

    Lua Code:
    if ammoamount == 0 and weaponamount < 100 and itemcount("assassin star") > 0 then
       moveitems("assassin star", "all", "weapon", 100)
       wait(500,800)
    end

  3. #3
    iBot User
    Join Date
    Sep 2012
    Location
    Poland
    Posts
    39
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    33 Post(s)
    Reputation
    10
    Rep Power
    5
    Thx. Rep+

  4. #4
    Normal User
    Join Date
    Nov 2014
    Location
    Poland - podlaskie
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    47
    Rep Power
    3
    @insectx try this ;] when you dont have ammunition, bot will put on other weapon and shield, when you will have main amunition, bot will put on your main weapon
    Lua Code:
     
    local DistanceWeapon = "elvish bow"
    local ShieldName = "dragon shield"
    local ArrowBoltNname = "drill bolt"
    local AlternativeWeapon = "assassin star"
     
     
    if ammoamount == 0 and itemcount(ArrowBoltNname) == 0 then
    	if weapon ~= itemid(AlternativeWeapon) and itemcount(AlternativeWeapon) > 0 then
    		pausewalking(2000)
    		moveitems(AlternativeWeapon, "all", "weapon", 100)
    		wait(150,250)
    	end
    	if shield ~= itemid(ShieldName) and itemcount(ShieldName) > 0 then
    		pausewalking(2000)
    		moveitems(ShieldName, "all", "shield", 1)
    		wait(150,250)
    	end
    else
    	if weapon ~= itemid(DistanceWeapon) and itemcount(DistanceWeapon) > 0 then
    		pausewalking(2000)
    		moveitems(DistanceWeapon, "all", "weapon", 100)
    		wait(150,250)
    	end
    end

  5. #5
    iBot User
    Join Date
    Sep 2012
    Location
    Poland
    Posts
    39
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    33 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by JuicyScripts View Post
    @insectx try this ;] when you dont have ammunition, bot will put on other weapon and shield, when you will have main amunition, bot will put on your main weapon
    Lua Code:
     
    local DistanceWeapon = "elvish bow"
    local ShieldName = "dragon shield"
    local ArrowBoltNname = "drill bolt"
    local AlternativeWeapon = "assassin star"
     
     
    if ammoamount == 0 and itemcount(ArrowBoltNname) == 0 then
    	if weapon ~= itemid(AlternativeWeapon) and itemcount(AlternativeWeapon) > 0 then
    		pausewalking(2000)
    		moveitems(AlternativeWeapon, "all", "weapon", 100)
    		wait(150,250)
    	end
    	if shield ~= itemid(ShieldName) and itemcount(ShieldName) > 0 then
    		pausewalking(2000)
    		moveitems(ShieldName, "all", "shield", 1)
    		wait(150,250)
    	end
    else
    	if weapon ~= itemid(DistanceWeapon) and itemcount(DistanceWeapon) > 0 then
    		pausewalking(2000)
    		moveitems(DistanceWeapon, "all", "weapon", 100)
    		wait(150,250)
    	end
    end
    I love You :* big thanks xDDD

Posting Permissions

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