From: Will C. <wc...@in...> - 2002-02-27 20:43:56
|
# -> (14:36) From Coke, to lily-dev: # - patches against http://lily.acm.rpi.edu:7780/code/command_mode/%2Fhow # # -> (15:32) From Nautilus [@home][whee.], to Coke, lily-dev: # - Add "disclist = {};" after current line 25. Add "disclist = listinsert(dis # - clist,length(p.memb));" after current line 31. Add "disclist = $list_utils # - :scalarSort(disclist);" after current line 49. (For what it's worth, it # - appears that a logged-out player can still be a pig yet not included in # - the average Suck.) Add "player:notify("The median discussion membership # - is " + tostr( usersTotal%2 ? disclist[(usersTotal/2)+1] | (disclist[(usersT # - otal/2)]+disclist[(usersTotal/2)+1])/2) + " users.");" after the previous # - added line (the one with scalarSort). # # -> (15:34) From Nautilus [@home][whee.], to lily-dev: # - And if you'd rather say "disclist = (@disklist, length(p.memb));" instead # - of the listinsert line, feel free. It all comes out in the sort. # # -> (15:35) From Nautilus [@home][whee.], to lily-dev: # - Thanks to Achorrath for the help with the scalarSort function. # # -> (15:39) From Coke, to lily-dev: # - cool. can you send that to lil...@li... ? |