ID:1374284
 
(See the best response by FKI.)
Problem description:

I have a HUD button that should output the players completed quests, stored in the list questscompleted. I want each of the quests in the list to show up on a different line. The code below is the closest I can come, but I'm not sure what else I could try. Any suggestions?

Code:
usr<<"<b>----------------\nYou have completed the following quests:</b>\n[list2params(usr.questscompleted)]\n<b>----------------</b>"
Best response
Wouldn't this do?

...

usr << "You have completed the following quests: \n"

for(var/quest in questscompleted)
usr << "[quest]"


Not necessarily the best way, though.
The \n's are redundant unless he wants empty lines between everything.
In response to Kaiochao
Duh, my mistake. Not sure what happened there, ha. Thanks.
Yup; that'll do it. Don't know why I was having such a hard time with something so simple :P Thanks for your help!