View Single Post
  #2  
Old 02-28-2002, 08:19 PM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Re: Read from file....

Quote:
Originally posted by joseyisleet
-=Josey=-
It would be nice to have a function that would read text from a file (not like an npc). Something like:

NPC Code:

if (playertouchsme){
say2 filenamehere,toplinetostartwith,bottomlinetoendwit h;
}


It would be nice to have a function like this. Almost every programming engine has one. Like VB's:

NPC Code:

Private Sub Label_Click()
text1.text = app.Path & "/textfilhere.txt"
End Sub


This would be really handy. Just a suggestion though.
I believe this is being implemented in the new version. And will be:

NPC Code:

say2 #txt(<textfilename>);

__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote