Author Topic: New command  (Read 2174 times)

0 Members and 1 Guest are viewing this topic.

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
New command
« on: March 27, 2008 11:18 pm CDT »
I've been working on my SQL module for Tribes tonight, and I'd like to introduce you to the first benefit of that.

For testing my communication model, I made a #time command.  To use it, type:
#time offset

Common offsets in the US:
-5 >> Eastern
-6 >> Central
-7 >> Mountain
-8 >> Western
-9 >> Alaska
-11 >> Hawaii

So, example usage for central time is:
#time -6

If you forget to specify an offset, the system will just assume an offset of -1 (atlantic ocean).
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

Kyrie

  • Orb Member
  • Uber Menace
  • ***
  • Posts: 1,014
  • Reputation: +5/-4
Re: New command
« Reply #1 on: March 28, 2008 11:43 am CDT »
Neat-o. Excited to see what else this will let you cook up!

Edit, could you also add seconds to the time? I'm thinking about ways to use this command as a timer, instead of schedules() and scripted clocks.







Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: New command
« Reply #2 on: March 28, 2008 02:09 pm CDT »
Sure, I could add seconds.
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

Lidge Farkley

  • Uber Menace
  • *******
  • Posts: 1,357
  • Reputation: +2/-3
    • http://www.angelfire.com/ca2/psychosworld2/
Re: New command
« Reply #3 on: March 28, 2008 04:27 pm CDT »
Awesome! :-)
Lend your heart unto the divine mineral TOPAZ;
from which our reverent hearts and minds sprang.
Also Known As:  Alcoholic 007
My Page of tribes Tools and Helpful "FAQ" Stuff

KoRo

  • Fat, Emo Robot
  • Centurian Lord
  • ********
  • Posts: 3,437
  • Reputation: +14/-6
Re: New command
« Reply #4 on: March 30, 2008 03:00 pm CDT »
Does it account for DST? There's a period of a few weeks where the US is an hour closer to Europe before Europe switches their time (I just had to live through a nightmare because of that).