Results 1 to 2 of 2

Thread: Logout after X hours playing

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

    Logout after X hours playing

    Hi guys, im trying make one variable to logout after 6 hours playing ,for dont waste stamina ,etc.
    I want one variable on my "action checker" like
    PHP Code:
    if timems >= 21600 or itemcount()<= 20 then 
    gotolabel
    "X"
    end 
    Any help?

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try:

    PHP Code:
    if (timems >= 2160000) or (itemcount("item that you want to count here, eg: mana potion") <= 20
    then 
        gotolabel
    ("X")
    end 


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

Posting Permissions

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