ID:169676
 
no clue how to do it, havent coded in awhile

Well, what kind of Scoreoard are you looking for?

There is a demo, as well, by RaeKwon, about scoreboards. Easily editable. It's great for all kinds of things if you set it up correctly.
In response to CaptFalcon33035
ok ill give it a look, im looking for a top 20 scoreboard showing level,race and class
In response to Derekjeterisgod
This is actually not that hard to do. First, you need to keep track of your players. Perhaps by adding them to a list during Login(). Then, you just sort the list by whatever factor you like and display the results. For example:
var/list/plist = list()

mob/player()
var
class
level
race
Login()
..() //Do whatever you previously had here
plist += src //add the player to the list
Logout()
..()
plist -= src //remove the player from the list

verb/show_highest()
sort_players()
src << "<b>Highest level players logged onto [world.name]:</b>/n"
for(var/mob/player/P in plist)
src << "([P.level]) [P.name] the [P.race] [P.class]"

proc/sort_players() //from one of LummoxJR's earlier posts Post [link]
var/i,j,k
for(i=1, i<plist.len, ++i) // note: i goes from 1 to L.len-1
k = i
var/mob/Mk = plist[k]
for(j=i+1, j<=plist.len, ++j) // j goes i+1 to L.len
var/mob/Mj = plist[j]
if(Mj.level > Mk.level) // sorting from highest level to lowest
Mk = Mj; k = j
// if a more agile mob found (at k), swap position i with it
if(k != i) plist.Swap(i, k)


Also check out Abyss Dragon's sorting routines: http://developer.byond.com/hub/AbyssDragon/SortProcs