Signup Now
Page 49 of 65 FirstFirst ... 39474849505159 ... LastLast
Results 481 to 490 of 647
  1. #481
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by Justx View Post
    hey raphael, I want to edit these persistents to when I'm attacked by any player, the bot will run execute the same actions it would if it were without supplies (go to dp and refill)

    auto(800, 1000)
    if itemcount(getuseroption('mpId', 'all')) < getuseroption('mpCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
    settargeting("off")
    gotolabel("leave lower")
    end


    if itemcount(getuseroption('hpId', 'all')) < getuseroption('hpCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
    settargeting("off")
    gotolabel("leave lower")
    end

    if $cap < getuseroption('capCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
    settargeting("off")
    gotolabel("leave lower")
    end





    auto(800, 1000)
    if itemcount(getuseroption('mpId', 'all')) < getuseroption('mpCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
    settargeting("off")
    gotolabel("leave normal")
    end


    if itemcount(getuseroption('hpId', 'all')) < getuseroption('hpCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
    settargeting("off")
    gotolabel("leave normal")
    end

    if $cap < getuseroption('capCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
    then
    setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
    settargeting("off")
    gotolabel("leave normal")
    end
    auto(800, 1000)

    if $lootbodies == 0 and $battlesigned then
    local mpId, hpId = tonumber(getuseroption('mpId')), tonumber(getuseroption('hpId'))
    local mpCheck, hpCheck, capCheck = tonumber(getuseroption('mpCheck')), tonumber(getuseroption('hpCheck')), tonumber(getuseroption('capCheck'))

    if itemcount(mpId) < mpCheck or itemcount(hpId) < hpCheck or $cap < capCheck or $pattacker.id ~= 0 then
    if $posz == 10 then
    gotolabel("leave lower")
    else
    gotolabel("leave normal")
    end

    setsetting("Persistent/Scripts/ForceRefill/Enabled", "no")
    settargeting("off")
    end
    end


    There's no need for two hotkeys, use a single one.
    Last edited by Raphael; 08-08-2014 at 09:50 PM.

  2. #482
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by Phsycoze View Post
    Hi, i need an action to advertising
    waatt

  3. #483
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,568
    Reputation
    149
    Rep Power
    30
    Quote Originally Posted by Raphael View Post
    waatt
    I think he wants to be just like one of those 1lvl spammers on rook.

  4. #484
    Free User
    Join Date
    Mar 2014
    Posts
    61
    Reputation
    10
    Rep Power
    23
    how can I put hotkeys for example I want sd on delete so when i press delete it will sd the target im attacking ?

  5. #485
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by Simona View Post
    how can I put hotkeys for example I want sd on delete so when i press delete it will sd the target im attacking ?
    useoncreature('sudden death rune', $target)

  6. #486
    Free User
    Join Date
    Jun 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0
    would have some hotkey to attack vis hur?

  7. #487
    Free User lele's Avatar
    Join Date
    Dec 2013
    Location
    Erechim, Brazil
    Posts
    24
    Reputation
    10
    Rep Power
    0
    Hey, @Raphael I need an action to

    if $posz == X and local time > 4:15 and local time < 4:59 and $pzone then
    logout()


    it's possible?
    Last edited by lele; 08-08-2014 at 01:30 PM.

  8. #488
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by lele View Post
    Hey, @Raphael I need an action to

    if $posz == X and local time > 4:15 and local time < 4:59 and $pzone then
    logout()


    it's possible?
    if $posz == X and timebetween('4:15', '4:59') and $pzone then
    logout()
    end

  9. #489
    Free User lele's Avatar
    Join Date
    Dec 2013
    Location
    Erechim, Brazil
    Posts
    24
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    if $posz == X and timebetween('4:15', '4:59') and $pzone then
    logout()
    end
    thanks bro!

  10. #490
    Free User
    Join Date
    Jul 2014
    Posts
    11
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Imba View Post
    I think he wants to be just like one of those 1lvl spammers on rook.
    If u dont know, dont say anything, thanks

    Quote Originally Posted by Raphael View Post
    waatt
    Mals, estava pelo celular, eu preciso de uma action para fazer anuncios no adversting para vender house, itens, etc...
    valeu

 

 

Posting Permissions

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