0 Members and 2 Guests are viewing this topic.
The basic idea has been stolen from Curt`s Number of Visits script.
Server visits will be displayed all 5 minutes. Edit the interval by changing the following line in the code:if (Ticks mod (3600 * 5) = 0) then
QuoteServer visits will be displayed all 5 minutes. Edit the interval by changing the following line in the code:if (Ticks mod (3600 * 5) = 0) thenLazy b**** You should make const so ppl would have better access. Don't say them to dig through your script looking for the right line...
Nice thx for the mentionQuote from: Gizd on June 24, 2009, 03:55:04 pmQuoteServer visits will be displayed all 5 minutes. Edit the interval by changing the following line in the code:if (Ticks mod (3600 * 5) = 0) thenLazy b**** You should make const so ppl would have better access. Don't say them to dig through your script looking for the right line...lol your right i suggest at least putting a constant up top for how often (in ticks) to show it; if you wan't to get complex, create a parser function that can parse something like "5m 4s 49t" or "1h 10m 5s 850ms" and possibly put it in an ini file.
Good work as like all your sripts you release!You may put a variable which saves the time left until the last visit.
--------------------------------------------------------------------- [Version 1.1] - 2013-08-09 => Update #1--------------------------------------------------------------------~ Replaced all occurrences of FloatToStr with FormatFloat to prevent trailing zeroes- Removed redundant variable i in the ActivateServer event- Removed obsolete reference to EnEsCe's Soldat Central website--------------------------------------------------------------------- [Version 1.0] - 2009-06-24 => Initial release--------------------------------------------------------------------
Thank you, sir. Danke schön.