Jump to content
  • 0

Can rAthena read from external file?


nanakiwurtz

Question


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Just like the title said, can the current scripting language in rAthena to read external file(s) in a folder?

For example, I have a file named 'My File.txt'.

Can I make something like:

mes "Path: "+filepath;
mes "Filename: "+filename;
mes "Content: "+filecontent;
close;

 

I think it would be great if the scripting language could read, write, or even delete a file.. /ok

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

No, rAthenas script engine can't.read content from files.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

flaviojs started working on this, but I don't know if he's made any progress.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

After months, the code never realized, maybe it's halted  /panic

Anyway, thanks for the reply, Kenpachi & Euphy!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...