Multi Time Aliases

By Stocky on Aug 29, 2004

Put this in your aliases and type: /time to view all of the commands! It's that simple! Have fun!

time {
  if ($1 == -t) { //say 12Time02[12 $+ $asctime(hh:nn:TT) $+ 02]12 TimeZone02[12 $+ $asctime(zzz) $+ 02] 12Z14a15K2 1.0 | halt }
  if ($1 == -z) { //say 12TimeZone02[12 $+ $asctime(zzz) $+ 02] 12Z14a15K2 1.0 | halt }
  if ($1 == -d) { //say 12Date02[12 $+ $asctime(dddd:dd:mmmm:yyyy) $+ 02] 12Z14a15K2 1.0  | halt }
  if ($1 == -w) { //say 12Day $+ 02[12 $+ $asctime(dddd) $+ 02] 12Z14a15K2 1.0 | halt }
  if ($1 == -f) { //say 12It is currently 02[12 $+ $asctime(hh:nn:TT) $+ 02]12 on 02[12 $+ $asctime(dddd) $+ 02]12 of 02[12 $+ $asctime(mmmm:dd) $+ 02] 12Z14a15K2 1.0 | halt }
  else {
    echo -a 12Time Display Commands 12Z14a15K2 1.0 
    echo -a 12/time 02[Displays Commands]
    echo -a 12/time -t 02[Displays Time]
    echo -a 12/time -z 02[Displays TimeZone]
    echo -a 12/time -d 02[Displays Day]
    echo -a 12/time -w 02[Displays Date]
    echo -a 12/time -f 02[Displays Full Date]
  }
}

Comments

Sign in to comment.
Zach   -  Sep 04, 2004

You don\' tneed hte else statement because you halt everything before hand. You don\'t need //say and // altogether. you need to do MSG $ACTIVE instead. Also you need to pick a different alias because it conflicts with the /timer command.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.