mob/verb/Test()
// Just for test
var/list/L=list("player"="Hallo",
"npc"="What are you doing?",
"sleep"=20,
"player"="Nothing",
)
//
//now how to import text from file in to the list?//
for(var/v in L)
if(v=="sleep") {sleep(L[v]);continue}
src<<"[v]: [L[v]]"
sleep(10)
Problem description:
Have you any idea how to import and include conversation text from file.txt?
Format
global.readFile("Text.txt")
Will return a list with the file's content.
Would need to allow '=' inside of strings for npc and such tho so it doesn't get converted for params2list()
[edit]