L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help convert time to code
Author Message
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
Question Help convert time to code

I wonder how do to convert the time to code l2tower script, example: sleep(60 * 1000 * 60)
10-26-2014 05:45 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #2
RE: Help convert time to code

60 x 1000ms x 60 = 1h

Heart
10-26-2014 11:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: Help convert time to code

Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.
10-26-2014 16:18 PM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #4
RE: Help convert time to code

(10-26-2014 16:18 PM)itallog Wrote:  Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.

You Allways do the same count.. from 1 second

Sleep(1000) -- 1 sec
Sleep(30*1000) -- 30 sec
Sleep(60*1000) -- 1 min
Sleep(5*60*1000) -- 5 min
Sleep(30*60*1000) -- 30 min
(This post was last modified: 10-26-2014 17:28 PM by rORUMI.)
10-26-2014 17:27 PM
Find all posts by this user Quote this message in a reply
itallog Offline
Expired VIP Member
**

Posts: 13
Joined: Mar 2012
Reputation: 0
Version: 1.4.3.143
Post: #5
RE: Help convert time to code

(10-26-2014 17:27 PM)rORUMI Wrote:  
(10-26-2014 16:18 PM)itallog Wrote:  Oh ok,thank you, i want to know in minutes, exemple: 5 minutes, 4 minutes, 3 minutes.

You Allways do the same count.. from 1 second

Sleep(1000) -- 1 sec
Sleep(30*1000) -- 30 sec
Sleep(60*1000) -- 1 min
Sleep(5*60*1000) -- 5 min
Sleep(30*60*1000) -- 30 min

Great, Thank you!
10-27-2014 17:55 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Looking for a Good Time? Connect with Local Ladies in Your City intel 0 18 Today 03:47 AM
Last Post: intel
  L2 Speak npc Same time than Spawn fastkill22 0 1,794 01-26-2019 02:12 AM
Last Post: fastkill22
  time for dollars on acc scorpiox 0 1,732 11-20-2016 07:47 AM
Last Post: scorpiox
  Running some servers with L2t injected and innova the same time. testforl2 0 2,179 12-29-2015 14:56 PM
Last Post: testforl2
F.A.Q. L2Tower Stuck and work all time teris19942 0 2,560 12-15-2015 23:38 PM
Last Post: teris19942
  help pls time code lucasdrag 4 4,087 11-18-2015 22:33 PM
Last Post: TheQQmaster
  premium license activation time Louna 1 3,125 10-05-2015 18:58 PM
Last Post: Fox
  buff time use powercheats 1 3,079 04-20-2015 20:38 PM
Last Post: plixplox
  How many accounts are people running at the same time lawner01 1 2,201 12-20-2014 06:52 AM
Last Post: soul2eat
  Mark Of Lumi Healer One Time ronycontreras 6 4,218 11-07-2014 19:06 PM
Last Post: soul2eat



User(s) browsing this thread: 1 Guest(s)