Results 1 to 2 of 2

Thread: Logout when x manas left look there!!!

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

    Logout when x manas left look there!!!

    Hello,
    I need a hotkey or action( dunno) that I could add to my waypoints with will check my supplies and if there is less than let's say 100manas my character will log out.
    Can someone help me? I give you rep+!!!

  2. #2
    Normal User Tibianator's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    19
    Rep Power
    5
    there are 2 ways:

    1st check waypoint which will check how many mana u got and if so go to any other waypoint(leading u to pz or safe place) then action which will close ur client
    check
    PHP Code:
    if itemcount('mana potion') <= 100 then gotolabel('NAME_OF_THE_WAYPOINT'end 
    action waypoint at safe location(u have to make stand waypoint before this action waypoint(in same sqm)
    PHP Code:
    if islocation() then closeclient() end 

    2nd way to solve ur request and more dangerous for character:
    action to check ur mana amount, and if u will have 100 or less just force to xlog(even on middle of the respawn)
    PHP Code:
    if itemcount('mana potion') <= 100 then closeclient() end 

Posting Permissions

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