Method code for $robot.connected_time()

[Turn off line numbering]
  1: arg @args;
  2: 
  3: [(args ?= 'dhms)] = args;
  4: if (!.active())
  5:     return "Inactive";
  6: switch (args) {
  7:     case 'seconds:
  8:         return 0;
  9:     default:
 10:         return "";
 11: }
 12: 
 13: // $#Edited: 30 Oct 97 10:54 $brandon

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark