• Edit a .lua file ingame, for client only. (In an addon)
    9 replies, posted
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.. :D Thanks.
I guess you could make it read the motd from a .txt file
[QUOTE=Benjiko99;39515284]I guess you could make it read the motd from a .txt file[/QUOTE] 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.
[QUOTE=addemod;39515324]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.[/QUOTE]No you dont. You read it from a txt file as well. It does the same as a html last i checked.
[QUOTE=Science;39515603]No you dont. You read it from a txt file as well. It does the same as a html last i checked.[/QUOTE] Fail.
[QUOTE=addemod;39515698]How do you know I am not working on it? -_-[/QUOTE] 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...
[QUOTE=ms333;39515705]You can't save as .html anyway with file.Write.[/QUOTE] I know that, ms. [editline]8th February 2013[/editline] [QUOTE=ash47;39516128]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...[/QUOTE] I rated dumb because he said that I didn't work on it -.-
[QUOTE=addemod;39516367] I rated dumb [b]because he said that I didn't work on it[/b] -.-[/QUOTE] 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.
[QUOTE=ms333;39516588]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.[/QUOTE] Okey, lol I failed.
Sorry, you need to Log In to post a reply to this thread.