Skip to content
MSN

Dialogs

A TG007 community discussion started by egyptian.

Discussion 4 posts
Page 1 of 1
Open
Topic #6426 · 4 published posts · 599 views

plz now i made a dialog and its containg a alist and need this list to read wt u need from the text so how may i do that

 

On *:Dialog:EGYPTIAN:init:*:{
 $read(EGYPTIAN.txt)
}

 

or how ?

on *:DIALOG:EGYPTIAN:init:*: {
 if ($read(egyptian.txt,1)) loadbuf $lines(egyptian.txt) -o $dname <id here> egyptian.txt
}

 

just replace <id here> with the list id. Say my list id was 10. the line would be

 

  if ($read(egyptian.txt,1)) loadbuf $lines(egyptian.txt) -o $dname 10 egyptian.txt

 

/loadbuf: invalid parameters (line 19, script2.mrc)

 

 

and that line is

 

if ($read(egyptian.txt,1)) loadbuf $lines(egyptian.txt) -o $dname 10 egyptian.txt

 

 

and other information that text not limited with number of lines its can be changed every time i open the dialog so i should do the same ? and wt abt the error ?

Edited Apr 24, 2006 3:50 PM by egyptian

is your list id 10?