Edit a .lua file ingame, for client only. (In an addon)

Hello.

I am working on a Motd addon and I want people have the ability to edit a .lua file (The motd file) ingame so they don’t have to use Gmad Extractor each time they want to edit the motd.

Is there any way you can do this, and if you can… please tell me? (Yes, I know I am spoonfeeding)
Or at least try explain HOW to do it, just not give me the code… :smiley:

Thanks.

I guess you could make it read the motd from a .txt file

I know, I am working on it… but I need to make the motd in html and at the same time it edits in html and
saves in html.

No you dont.

You read it from a txt file as well.
It does the same as a html last i checked.

Fail.

You can’t save as .html anyway with file.Write.

Why rate him dumb? He’s correct, you should save it to a .txt file using file.Write, you can use a text entry derma panel for editing, or they can jsut edit the .txt file directly…

I know that, ms.

[editline]8th February 2013[/editline]

I rated dumb because he said that I didn’t work on it -.-

No, he said “No you don’t” to: I need to make the motd in html and at the same time it edits in html and
saves in html.

Okey, lol I failed.