Results 1 to 5 of 5

Thread: Check computer time and goto label X

  1. #1
    iBot User 280201's Avatar
    Join Date
    Oct 2012
    Posts
    40
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    17
    Rep Power
    5

    Check computer time and goto label X [solved]

    Hello, how can i check my computer's time in an action?

    I want my character to go to a X label when my PC's clock is at 5a.m

    Can somebody help me with this?

    Thanks!
    Last edited by 280201; 03-05-2015 at 07:47 PM.
    Im not a professional scripter, I just make my own scripts for my chars (Mage and Knight) and then I release it after using.
    If you want an exclusive script you can talk to me, but its quite restrict because I'm just starting again (low level chars). If it's easy I can do it for you for free, if not, we can talk.

    All my scripts are based in other's actions. I didnt know how to sell items, then I looked into ppl scripts and learned. Thats my method.
    Untill now I owe thanks to: @Eli @Drakke @BlaBlaBla @Isaacbf for teaching me in direct and indirect ways.
    HUD's that I've used till now: @BlaBlaBla and @Eli


    Latest scripts / Últimos scripts


    † Scripts coming soon †

    [MS] Edron Earth Elemental 33+ (exp) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians North Camp (profitable) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians South Camp (profitable) = 0%
    • And more...

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Quote Originally Posted by 280201 View Post
    Hello, how can i check my computer's time in an action?

    I want my character to go to a X label when my PC's clock is at 5a.m

    Can somebody help me with this?

    Thanks!
    Did u tried to use seomthing like
    p.s: do not tested yet

    Lua Code:
     
     
    local pcTime = time()
     
    if pcTime == "05:00" then
    -- do smthing
    end
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  3. #3
    iBot User 280201's Avatar
    Join Date
    Oct 2012
    Posts
    40
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    17
    Rep Power
    5
    Thanks man! I'll test this now
    Im not a professional scripter, I just make my own scripts for my chars (Mage and Knight) and then I release it after using.
    If you want an exclusive script you can talk to me, but its quite restrict because I'm just starting again (low level chars). If it's easy I can do it for you for free, if not, we can talk.

    All my scripts are based in other's actions. I didnt know how to sell items, then I looked into ppl scripts and learned. Thats my method.
    Untill now I owe thanks to: @Eli @Drakke @BlaBlaBla @Isaacbf for teaching me in direct and indirect ways.
    HUD's that I've used till now: @BlaBlaBla and @Eli


    Latest scripts / Últimos scripts


    † Scripts coming soon †

    [MS] Edron Earth Elemental 33+ (exp) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians North Camp (profitable) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians South Camp (profitable) = 0%
    • And more...

  4. #4
    iBot User 280201's Avatar
    Join Date
    Oct 2012
    Posts
    40
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    17
    Rep Power
    5
    it worked man! thanks

    ive made a little adjustment to logout at 05:00 or later
    Lua Code:
    if log_out and time() >= log_time then
    gotolabel('train')
    else
    gotolabel('flasks')
    end


    and setup:
    Lua Code:
    log_out = true
    --#type : checkbox #showas : Deslogar
     
    log_time = "05:20"
    --#type : textedit #showas : Que horas computador deslogar


    thanks alot
    Im not a professional scripter, I just make my own scripts for my chars (Mage and Knight) and then I release it after using.
    If you want an exclusive script you can talk to me, but its quite restrict because I'm just starting again (low level chars). If it's easy I can do it for you for free, if not, we can talk.

    All my scripts are based in other's actions. I didnt know how to sell items, then I looked into ppl scripts and learned. Thats my method.
    Untill now I owe thanks to: @Eli @Drakke @BlaBlaBla @Isaacbf for teaching me in direct and indirect ways.
    HUD's that I've used till now: @BlaBlaBla and @Eli


    Latest scripts / Últimos scripts


    † Scripts coming soon †

    [MS] Edron Earth Elemental 33+ (exp) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians North Camp (profitable) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians South Camp (profitable) = 0%
    • And more...

  5. #5
    iBot User 280201's Avatar
    Join Date
    Oct 2012
    Posts
    40
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    17
    Rep Power
    5
    closed
    Im not a professional scripter, I just make my own scripts for my chars (Mage and Knight) and then I release it after using.
    If you want an exclusive script you can talk to me, but its quite restrict because I'm just starting again (low level chars). If it's easy I can do it for you for free, if not, we can talk.

    All my scripts are based in other's actions. I didnt know how to sell items, then I looked into ppl scripts and learned. Thats my method.
    Untill now I owe thanks to: @Eli @Drakke @BlaBlaBla @Isaacbf for teaching me in direct and indirect ways.
    HUD's that I've used till now: @BlaBlaBla and @Eli


    Latest scripts / Últimos scripts


    † Scripts coming soon †

    [MS] Edron Earth Elemental 33+ (exp) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians North Camp (profitable) = [100%- Just wait me to leave that spot]
    [EK] Svargrond Barbarians South Camp (profitable) = 0%
    • And more...

Posting Permissions

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