ID:161863
 
i want to make a rank list for users to see who the higher ranking players are (this is a bleach game btw)

I think it owuld be like this
Code:
mob/Astro
verb
MakeEspada(mob/M in world)
set name="Make Espada"
set category="Espada"
switch(input("Which Espada # would you like to give?", text) in list ("1", "2"))
if("1")
M.number="Espada #1"
espadanum = 1
M<<"<b>You are now an Espada your number is 1!!"
M.race = "Espada"
M.verbs += /mob/espada/verb/Make_Fraccion
M.rank = "Weak Espada"
if("2")
M.number="Espada #2"
espadanum = 1
M<<"<b>You are now an Espada your number is 2!!"
M.race = "Espada"
M.verbs += /mob/espada/verb/Make_Fraccion
M.rank = "Weak Espada"

Then it would be somthing like this
mob
verb
Espada Who

but after this, idk what to put b/c if its
if(src.espadanum=1)
it owuld only show the user themselvs

Help :(
Use a list to store the names using the Add() proc, and then the order they get added will determine there rank. If you want to swap positions just use the Swap() proc.

var/list/espada=list("Stark","Halibel","Old Dude","Ulquiorra","Nnoitora","Grimmjow","SPiky guy","Syazel Apporo","Aaronier","Yammy")

mob
verb
show_espada()
var/position=0
for(var/m in espada)
position++
usr<<"Espada [position]: [m])"


http://www.byond.com/docs/ref/info.html#/list/proc