Signup Now
Results 1 to 6 of 6

Thread: GSP script

  1. #1
    Free User
    Join Date
    Mar 2016
    Location
    Sweden
    Posts
    36
    Reputation
    16
    Rep Power
    0

    GSP script

    I want the bot to use GSP if my HP is lower then 50% or mana lower then 60%.

    Code:
    ------Potions------
    
    auto (200,500)
    
    if $hppc <= 50 useoncreature ("Great Spirit Potion",$self) >=1
    elseif $mppc <= 60 useoncreature ("great spirit potion", $self) >=1
    end

    would this work?

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,771
    Reputation
    151
    Rep Power
    31
    auto (200,500)

    if $hppc <= 50 then
    useoncreature("Great Spirit Potion", $self) waitping(2,3)
    elseif $mppc <= 60 then
    useoncreature("Great Spirit Potion", $self) waitping(2,3)
    end

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User
    Join Date
    Mar 2016
    Location
    Sweden
    Posts
    36
    Reputation
    16
    Rep Power
    0
    tackar.

  4. #4
    Wind Powered
    Join Date
    Mar 2016
    Posts
    5
    Reputation
    10
    Rep Power
    0
    Does not work so well, the potion is used when it reaches only one of the conditions ... There is some way for it be used only when two conditions are met?

  5. #5
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,771
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by slayerbot View Post
    Does not work so well, the potion is used when it reaches only one of the conditions ... There is some way for it be used only when two conditions are met?
    auto (200,500)

    if $hppc <= 50 and $mppc <= 60 then
    useoncreature("Great Spirit Potion", $self) waitping(2,3)
    end

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  6. #6
    Wind Powered
    Join Date
    Mar 2016
    Posts
    5
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by ozzix View Post
    auto (200,500)

    if $hppc <= 50 and $mppc <= 60 then
    useoncreature("Great Spirit Potion", $self) waitping(2,3)
    end

    Thnx bro... now it's working fine

 

 

Posting Permissions

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