Author Topic: !time  (Read 3996 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
!time
« on: July 20, 2008, 02:24:06 am »
Hello  ;)

Please Help My in commands !time in game and IRC.

my code in irc  :-\
Code: [Select]
elseif ($1 == !time) vcmp.adminchat GMT + 1 Time: $asctime($calc($gmt + 3600),HH:mm)
please help in add new Time GMT

Global Time: GMT:[ 00:18 ] - EU:[ 01:18 ] - Chile:[ 11:18 ] - US:[ 19:18 ]  ;)

Offline Force

  • LU Developer
  • Made Man
  • *
  • Posts: 242
    • View Profile
Re: !time
« Reply #1 on: July 20, 2008, 11:42:07 am »
All you need to do is:

Code: [Select]
vcmp.adminchat GMT + 1 Time: $time

That's if you are running the scripts from your computer ;)

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: !time
« Reply #2 on: July 20, 2008, 10:36:14 pm »
All you need to do is:

Code: [Select]
vcmp.adminchat GMT + 1 Time: $time

That's if you are running the scripts from your computer ;)


nah.. Bakasan Please Help my

Offline K.I.S.S

  • Street Thug
  • *
  • Posts: 16
    • View Profile
Re: !time
« Reply #3 on: July 21, 2008, 10:15:51 pm »
Based on Bakasan's version,

time's referenced from http://www.timeanddate.com
I took the capital for each location

EU, Spain - Madrid, GMT + 1 Hour
Chile - Santiago, GMT -4 hours
USA, washington Dc, GMT -5 hours

Code: [Select]
alias vcmp.time {
   vcmp.adminchat Global Time: GMT: $+($chr(91),$asctime($calc($gmt + 0),HH:nn),$chr(93)) - EU: $+($chr(91),$asctime($calc($gmt + 3600),HH:nn),$chr(93)) - Chile: $+($chr(91),$asctime($calc($gmt - 18000),HH:nn),$chr(93)) - US: $+($chr(91),$asctime($calc($gmt - 21600),HH:nn),$chr(93))
}

Code: [Select]
elseif ($1 == !time) $vcmp.time

not tested!!!
« Last Edit: July 21, 2008, 10:22:53 pm by K.I.S.S »

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: !time
« Reply #4 on: July 21, 2008, 10:39:54 pm »
Based on Bakasan's version,

time's referenced from http://www.timeanddate.com
I took the capital for each location

EU, Spain - Madrid, GMT + 1 Hour
Chile - Santiago, GMT -4 hours
USA, washington Dc, GMT -5 hours

Code: [Select]
alias vcmp.time {
   vcmp.adminchat Global Time: GMT: $+($chr(91),$asctime($calc($gmt + 0),HH:nn),$chr(93)) - EU: $+($chr(91),$asctime($calc($gmt + 3600),HH:nn),$chr(93)) - Chile: $+($chr(91),$asctime($calc($gmt - 18000),HH:nn),$chr(93)) - US: $+($chr(91),$asctime($calc($gmt - 21600),HH:nn),$chr(93))
}

Code: [Select]
elseif ($1 == !time) $vcmp.time

not tested!!!


Cool Thx Friend Nice Aport :P