Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Need two actions for xlog when no manas

  1. #1
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0

    Need two actions for xlog when no manas

    Ive actions with
    if itemcount('mana potion') < 100


    gotolabel('safelogout')

    else

    gotolabel('hunt')

    end

    how make it to work?

    and then I want to close tibia but this doesnt work:
    waitping()
    closetibia()
    waitping()
    closebot()

    Help please and thx.

  2. #2
    Normal User Heardy's Avatar
    Join Date
    May 2012
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Code:
    if itemcount('mana potion') < 100 then
       gotolabel('safelogout')
    else
       gotolabel('hunt')
    end

    When your at your 'safelogout' label:

    Code:
    if not battlesigned then
       logout()
    else
       wait(5000,8000)
       logout()
    end

  3. #3
    Banned
    Join Date
    Mar 2012
    Location
    United Kingdom
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    PHP Code:
    if (itemcount("Mana Potion")) < 100 then 
    gotolabel
    ("safelogout"
    else
    gotolabel("hunt")
    end 
    I dont know the action for xlog, but you might wanna try this;

    PHP Code:
    closeclient() 

  4. #4
    Banned
    Join Date
    Mar 2012
    Location
    United Kingdom
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    Nevermind!
    Last edited by iBoteR VisioN; 05-17-2012 at 06:16 PM.

  5. #5
    Normal User Heardy's Avatar
    Join Date
    May 2012
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    -Ninja Code-


  6. #6
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0
    thanks lots guys you're awesome

  7. #7
    Normal User Heardy's Avatar
    Join Date
    May 2012
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    No problem man!

  8. #8
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0
    btw? does the waitping() exist

  9. #9
    Normal User Heardy's Avatar
    Join Date
    May 2012
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Not yet, it'll probably be put in the next update!

  10. #10
    iBot User Sentyment's Avatar
    Join Date
    May 2012
    Posts
    119
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    -8
    Rep Power
    0
    so wait(200,300) or what i should add?

Posting Permissions

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