Signup Now
Results 1 to 4 of 4
  1. #1
    Wind Powered
    Join Date
    May 2015
    Posts
    8
    Reputation
    10
    Rep Power
    0

    (request) Equip dwarven ring when drunk and remove when not drunk

    I have this persistent and it worked perfectly before some updates,but now when it takes off the dwarven ring it will sometimes put in an empty body I have open instead of my backpack, and my rings are gone in minutes.

    It will equip dwarven ring when i'm drunk and after x amount of seconds it will remove it, and if i'm still drunk it will put it on again. This is to save my rings and not waste half their use.

    auto(800, 1000)
    if $finger.id ~= 3099 and $drunk and itemcount("dwarven ring", 'all') > 0 then
    moveitems("dwarven ring", "ring", "all", 1)
    elseif $finger.id == 3099 and not $drunk then
    wait(10000, 17000)
    moveitems(3099 , "all", "ring", 1)
    end

    maybe something like a "ring location: purple backpack"? I did something like this but it didn't really work, i'm not good at this stuff lol.

    Like I said, this worked perfectly and would always put the ring back into the backpack before I converted the script from ibot, any help? Thanks
    Last edited by imabotter; 07-18-2016 at 02:25 AM.

  2. #2
    Free User Davi's Avatar
    Join Date
    Apr 2014
    Posts
    135
    Reputation
    30
    Rep Power
    21
    auto(800,1000)
    if $finger.id ~= 3099 and $drunk and itemcount("dwarven ring", 'all') > 0 then
    moveitems("dwarven ring", "ring", "all", 1)
    elseif $finger.id == 3099 and not $drunk then
    wait(10000, 17000)
    moveitems(3099 , 'ur backpack name', 'finger', 100)
    end


    try this cant check by myself now :/
    Last edited by Davi; 07-18-2016 at 01:41 PM.

  3. #3
    Free User
    Join Date
    May 2016
    Posts
    68
    Reputation
    9
    Rep Power
    0
    If it's the same as with club/sword/axe rings then they have different id when equipped and different when not equipped.

  4. #4
    Wind Powered
    Join Date
    May 2015
    Posts
    8
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Davi View Post
    auto(800,1000)
    if $finger.id ~= 3099 and $drunk and itemcount("dwarven ring", 'all') > 0 then
    moveitems("dwarven ring", "ring", "all", 1)
    elseif $finger.id == 3099 and not $drunk then
    wait(10000, 17000)
    moveitems(3099 , 'ur backpack name', 'finger', 100)
    end


    try this cant check by myself now :/


    I'm testing it now, it's doing what I want so far I'm just gonna watch it a little longer to make sure it doesn't put the ring in any dead body at all, but I think it's good thanks man

 

 

Posting Permissions

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