Results 1 to 4 of 4

Thread: Use pot on self

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5

    Use pot on self

    Hello,

    I tryed find one script that use pot from lootbp on SELF, but just if have more than 1

    like this:

    PHP Code:
    if(itemcount("strong health potion") >= 1)then
    useitemonself
    ("strong health potion",lootbp)
    end 
    but i dont remember this function *useitemonself*

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    [ilua]useitemontarget("strong health potion",name)[/ilua]

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by soder View Post
    [ilua]useitemontarget("strong health potion",name)[/ilua]
    he wants to use them from the loot bp though...

    Id just add a healer setting that uses lesser pots on yourself, at a higher hp %, so it uses them first, and set CheckItem to yes
    Last edited by pink_panther; 10-15-2013 at 11:52 PM.

  4. #4
    iBot User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    Thx to both of you.

Posting Permissions

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