Results 1 to 7 of 7

Thread: (request) If looted strong mana potion drink it

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    (request) If looted strong mana potion drink it

    Hello,
    as topic says I need that kind of action

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    its a code of my action but don't work ;/

    if itemcount("strong mana potion") > 0 then
    useitemon("strong mana potion", posx, posy, posz)

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bump.........

  4. #4
    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
    You forgot an end.

    PHP Code:
    if itemcount("strong mana potion") > 0 then
        useitemon
    ("strong mana potion"posxposyposz)
    end 
    This will drink from your bp, not from the dead creature.

  5. #5
    Normal User sirmate's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    176
    Mentioned
    2 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    105
    Rep Power
    6
    Quote Originally Posted by Ropiderz View Post
    Or

    Code:
    if itemcount("strong mana potion") > 0 then
            useitemoncreature("strong mana potion", id)
    end
    Using posx/y/z and moving fast it'll bug cavebot walking time, and send too many packets (repeat processes) for cipsoft server in the same time.
    There is no such function as "useitemoncreature". There is "useitemontarget" but it's not working for self character id.
    Using item on self coorindates is the only way so far. And if you add "pausewalking" before calling it then it should work properly.
    (๏̯͡๏ )

  6. #6

    Join Date
    Jun 2012
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5
    you can just add it to healing and check the box called "Check item"

  7. #7
    iBot User
    Join Date
    Jul 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I need if have 10 strong mana potion alarm and if have 3 spears alarm... who can help?

Posting Permissions

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