Sockets


  • staff

    Added in a new sockets command. Works like the old one except more informative. Taken from a snippet (yes, I know, ewwwww snippet) at [url=http://www.mudmagic.com/codes/server-snippet/470]mudmagic.com[/url]. Works nicely, but all in gray for now. Not sure if colors should be added or not. [code]sock kj [Num Connected_State Login@ Idl] Player Name Host -------------------------------------------------------------------------- [ 76 PLAYING 07:45PM ] Kjksbfafwwi localhost.localdomain 1 user [ ][ ] 11002> A guard of Plith leaves east. [ ][ ] 11002> A filthy rat has arrived. [ ][ ] 11002> sock [Num Connected_State Login@ Idl] Player Name Host -------------------------------------------------------------------------- [ 76 PLAYING 07:45PM 1 ] Kjksbfafwwi localhost.localdomain [ 75 PLAYING 07:44PM ] Nibelung dpc6747231145.direcpc.com [ 74 PLAYING 07:43PM ] Areo localhost.localdomain 3 users[/code]

  • retired

    Awesome work! You might do the column titles in yellow, but the rest should probably be grey for now.

  • staff

    In the code I have sent off to you, column titles (except name) are in gray, name is in white. The [ ] and other such lines are in dark gray. As for the entries themselves, names are in white, and idle time is in dark green to be more easily noticable.

Log in to reply