Results 1 to 4 of 4

Thread: actions problem

  1. #1
    Normal User
    Join Date
    Mar 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4

    actions problem

    Hello i have actions
    if standtime > 400000 then
    closetibia()
    end


    and i need on server save enabled : No

    in poland serwer save - 10;00
    And on 10;25 Enabled : yes

  2. #2
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    in place NameOfAction you need to put name how u called the action.

    Lua Code:
     
    if time() > "9:55" and time() < 10:25 then
        setsettings("Settings/Actions/NameOfAction/Enabled", "no")
    else
        setsettings("Settings/Actions/NameOfAction/Enabled", "yes")
    end

  3. #3
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    Lua Code:
    if (time() < "10:00" or time() > 10:25) and standtime > 400000 then
        closetibia()
    end
    Last edited by walukasz; 04-19-2014 at 01:48 PM.

  4. #4
    Normal User
    Join Date
    Mar 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4
    Thanx :d

Posting Permissions

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