Results 1 to 1 of 1

Thread: Safe X-log after preset time (8 AM by default)

  1. #1
    Banned
    Join Date
    Mar 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    6
    Rep Power
    0

    Safe X-log after preset time (8 AM by default)

    This will x-log after 8 AM (system time), I made this for mage, so it will put energy ring on before x-log to ensure you don't actually die because of x-log, it also checks if you got PVP sign to make it more safe.

    Code:
    --Config--
    TIME = 8 --twenty four hour clock
    
    if ((tosec(time())) > (TIME * 3600)) then
        moveitems("energy ring","all","ring",1)
        wait(1000,2000)
        if (ring == 3088) and (pvpsigned == false) then
            closetibia()
            wait(1000)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
            wait(500)
            playsound("alert.wav")
        end
    end
    Last edited by Flamed; 08-20-2013 at 10:27 PM.

Posting Permissions

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