Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Request: a presistent key code!

  1. #1
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5

    Request: a presistent key code!

    Would be great if someone got a action code for this:

    Uncomplete

    #1 if Attacking Carriom Worm switch to Wand, else switch to Bright sword.
    #2 If more then 4 Rotworms around you, switch to wand, else switch to Bright Sword
    #3 if player(s) on screen due alarm! "with blacklist players..."







    Completed:

    #1 if character idle for 30000, then go north, if not possible, go south
    Quote Originally Posted by Nightcrawler View Post
    Code:
    turn("n")
    turn("s")
    wait(30000)
    #2 Mana Trainer With editable %
    Quote Originally Posted by blakw View Post

    PHP Code:
    --Change mana here:
    local manaPct 30

    if (mppc <= manaPct)
    then
       cast
    ("exura")
    end 

    #3 if x meat, make targeting on deer "OnlyIfTrapped, Yes" else NO!
    Quote Originally Posted by blakw View Post

    PHP Code:
    if (itemcount("meat") > 5
    then
        setsettings
    ("Settings\\Targeting\\Monsters\\Deer\\OnlyIfTrapped""yes")
    else
        
    setsettings("Settings\\Targeting\\Monsters\\Deer\\OnlyIfTrapped""no")
    end 

    Dont Forget to REP the QUOTERS!!!



    if characters hp under x % loggout
    Code:
    - wright HP % to loggout here
    local healthPct = 35
    
    if (hppc <= healthPct)
    then
    wait(1000)
    setalarms('no')
    wait(1000)
    setcavebot('no')
    wait(5000)
    logout()
    end
    Last edited by lilb4l; 04-28-2012 at 04:31 PM.

  2. #2
    Normal User Nightcrawler's Avatar
    Join Date
    Apr 2012
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Code:
    turn("n")
    turn("s")
    wait(30000)
    Hope this code can help you. It will not check for character idle but will turn north and south each 30000.

  3. #3
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    the thing about this script is that the char sometimes gets stuck and doesnt atk anything as fast as it moves it begins again, dont know if this will work in this case but thanks

  4. #4
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    i need another code that mana trains:

    if mana is under x% do "exura"

    the healing with exura doesnt seem to work properly :S

  5. #5
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try the following:

    PHP Code:
    --Change mana here:
    local manaPct 30

    if (mppc <= manaPct)
    then
       cast
    ("exura")
    end 

  6. #6
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    thx ++rep

  7. #7
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    weird with this script is that when i wright manapct 99 it does exura until it cant anymore wasting all mana, i just need it to do it once :S

  8. #8
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    anyone can help me with this script im trying to make lol

    if countitem("meat") > 5 then
    "Settings\\Targeting\\Deer\\MustAttackMe\\Yes"
    else
    "Settings\\Targeting\\Deer\\MustAttackMe\\No"
    end

  9. #9
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    if (itemcount("meat") > 5
    then
        setsettings
    ("Settings\\Targeting\\Deer\\MustAttackMe\\Yes")
    else
        
    setsettings("Settings\\Targeting\\Deer\\MustAttackMe\\No")
    end 

  10. #10
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    Try:

    PHP Code:
    if (itemcount("meat") > 5
    then
        setsettings
    ("Settings\\Targeting\\Deer\\MustAttackMe\\Yes")
    else
        
    setsettings("Settings\\Targeting\\Deer\\MustAttackMe\\No")
    end 
    try'd it didnt work tho

Posting Permissions

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