Signup Now
Page 31 of 65 FirstFirst ... 21293031323341 ... LastLast
Results 301 to 310 of 647
  1. #301
    Free User
    Join Date
    Feb 2014
    Posts
    135
    Reputation
    11
    Rep Power
    24
    Quote Originally Posted by CroiX View Post
    auto(200)
    if maround(7, 'Ghastly Dragon') == 0 then
    if $poisoned then cast('exana pox')
    elseif $cursed then cast('exana mort')
    end
    end


    Will cast exana pox and exana mort when all ghastlys are dead IF you are poisoned/cursed.
    Thank you croix!

  2. #302
    Free User
    Join Date
    Jan 2014
    Posts
    13
    Reputation
    10
    Rep Power
    0
    please script for:

    turn off targeting if 5 or less royal spear

  3. #303
    Banned
    Join Date
    Apr 2014
    Location
    Poland
    Posts
    187
    Reputation
    20
    Rep Power
    0
    auto(200)

    if itemcount("royal spear") <= 5 then
    setsetting('Targeting/Enabled', 'no')
    else
    setsetting('Targeting/Enabled', 'yes')
    end

  4. #304
    Free User
    Join Date
    Jan 2014
    Posts
    25
    Reputation
    10
    Rep Power
    0
    Hello,

    I have a question about a command. I made a fully working rook script from 1 -> 8 but when I put on my manatrainingrule, in the knight cave, the bot does not know I have chosen the knight vocation yet and has still the "non-vocation" in his memory. How can I change the $voc parameter in lua-style? ( I don't want to manual choose it since I want to have it work full automatic )

    I am searching for the right command but I cant find it anywhere. I know how to read it but I dont know how to change it. ( like : setsetting($voc, 1) or whatever, I dont have a clue what the pathname is )

    I am now turning my manatraining spell on like this :
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'yes')

    It is enabled, thats for sure but it doesnt cast it.

    Thx in advance
    Last edited by wimme; 04-15-2014 at 02:27 PM.

  5. #305
    Free User CroiX's Avatar
    Join Date
    Jan 2014
    Posts
    889
    Reputation
    61
    Rep Power
    25
    Quote Originally Posted by wimme View Post
    Hello,

    I have a question about a command. I made a fully working rook script from 1 -> 8 but when I put on my manatrainingrule, in the knight cave, the bot does not know I have chosen the knight vocation yet and has still the "non-vocation" in his memory. How can I change the $voc parameter in lua-style? ( I don't want to manual choose it since I want to have it work full automatic )

    I am searching for the right command but I cant find it anywhere. I know how to read it but I dont know how to change it. ( like : setsetting($voc, 1) or whatever, I dont have a clue what the pathname is )

    I am now turning my manatraining spell on like this :
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'yes')

    It is enabled, thats for sure but it doesnt cast it.

    Thx in advance
    auto(200)
    if $vocshort == 'K' then
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'yes')
    elseif $vocshort == 'NV' then
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'no')
    end


    try that one.

    ---

    Quote or Tag me if you want me to reply quicker


  6. #306
    Free User
    Join Date
    Jan 2014
    Posts
    25
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by CroiX View Post
    auto(200)
    if $vocshort == 'K' then
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'yes')
    elseif $vocshort == 'NV' then
    setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'no')
    end


    try that one.
    The script doesnt work because the bot doesnt update the parameter I think.
    I just choose the knight-vocation at the isle of destiny and looked what it would do with the "$vocshort"-parameter with a hud:

    {'Vocation', function() return $vocshort end}


    and it gives back : NV. So I think the bot only reads my vocation at log in and does not update it.

    Now the windowclient says : Windbot 2.1.6 - ..........: No-Vocation, Lv 8. And clearly I am a knight.
    But if I want the bot to work, I need to relogg or manual go to : edit --> Character Vocation --> Knight --> Ok.
    Then the windowsclient says: Windbot 2.1.6 - ................. : Knight, Lv 8
    If I do that, your script enables the manatrainer and the bot works like a charm.

    But I am looking for a way to change "$vocshort" from "NV" to "K". Or a way to let it check my character again and read my characters vocation without relogging or manual set it to "knight".

  7. #307
    Free User CroiX's Avatar
    Join Date
    Jan 2014
    Posts
    889
    Reputation
    61
    Rep Power
    25
    Quote Originally Posted by wimme View Post
    The script doesnt work because the bot doesnt update the parameter I think.
    I just choose the knight-vocation at the isle of destiny and looked what it would do with the "$vocshort"-parameter with a hud:

    {'Vocation', function() return $vocshort end}


    and it gives back : NV. So I think the bot only reads my vocation at log in and does not update it.

    Now the windowclient says : Windbot 2.1.6 - ..........: No-Vocation, Lv 8. And clearly I am a knight.
    But if I want the bot to work, I need to relogg or manual go to : edit --> Character Vocation --> Knight --> Ok.
    Then the windowsclient says: Windbot 2.1.6 - ................. : Knight, Lv 8
    If I do that, your script enables the manatrainer and the bot works like a charm.

    But I am looking for a way to change "$vocshort" from "NV" to "K". Or a way to let it check my character again and read my characters vocation without relogging or manual set it to "knight".
    Ah, I get what you mean. Why don't just make it relog on its own? Seems like an easy solution


    Edit:

    Just add a HK for it instead?

    auto(200)
    if $mppc >= 30 then
    cast('exura ico')
    end


    name it to, f.e. "Mana Trainer"

    then put an action after you've chosed voc in ur waypoints -

    setsetting('Persistent/Scripts/Mana Trainer/Enabled', 'yes')
    @wimme
    Last edited by CroiX; 04-16-2014 at 04:28 AM.

    ---

    Quote or Tag me if you want me to reply quicker


  8. #308
    Free User
    Join Date
    Dec 2013
    Posts
    79
    Reputation
    12
    Rep Power
    24
    If it is not yet made what about a Boss task counter and when killed 300 tarantulas go to label xxx


    Nvm im just blind apparently :P Thanks for script ahah
    Last edited by Kwazy; 04-19-2014 at 03:15 AM.

  9. #309
    Free User
    Join Date
    Jan 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    Can you make for me energy ring/ssa EQUIPPER + UNEQUIPPER? For example when i put Shift + C it wear e ring on finger, but when i put shift + C again, it put it e ring to backpack.

  10. #310
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,819
    Reputation
    220
    Rep Power
    29
    Ering:


    if $finger.id == 0 then
    equipitem('energy ring', 'finger', $back.id, 1)
    else
    unequipitem('finger', $back.id, 1)
    end



    SSA:


    if $neck.id == 0 then
    equipitem('stone skin amulet', 'amulet', $back.id, 1)
    else
    unequipitem('amulet', $back.id, 1)
    end


    Last edited by mistgun; 04-20-2014 at 04:26 PM.

 

 

Posting Permissions

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