ID:147175
 
mob/var/pickq
mob/var/list/Picks = list()
var/list/Pick_Owners2 = list()
mob/verb/Pick_Distribution(mob/M as mob in world)
pickq = input("Give what pick?")in typesof(/obj)
M.contents+=new usr.pickq
src.Picks+=M
src.Picks+=usr.pickq
Pick_Owners2+=M
Pick_Owners2+=usr.pickq
src << usr.Picks


All this verb does is display /list instead of the appropriate list. If I can get some assistance that would be great. Thank you.
ZLegend wrote:
mob/var/pickq
> mob/var/list/Picks = list()
> var/list/Pick_Owners2 = list()
> mob/verb/Pick_Distribution(mob/M as mob in world)
> pickq = input("Give what pick?")in typesof(/obj)
> M.contents+=new usr.pickq
> src.Picks+=M
> src.Picks+=usr.pickq
> Pick_Owners2+=M
> Pick_Owners2+=usr.pickq
> src << usr.Picks

All this verb does is display /list instead of the appropriate list. If I can get some assistance that would be great. Thank you.

I didn't make this, Loduwijik did i think.

proc/list2text(list/L)
var/text_string=""
var/index=1
for(var/text in L)
text_string+="[text]"
if(index<L.len)
text_string+=", "
index+=1
return text_string


That's a proc to display lists.

All you have to do is usr << list2text(Picks)
In response to DeathAwaitsU
alright thanks.