[Bolt]HTML Creator 
19 comments Hi, there. Today I present you few functions which you can use to generate txt or html files. Maybe I will upgrade it in the future.
Using is very easy.
Html.Doc table stores lines of your document, each index value is each line. You can easily insert lines and control inserting text with:
and
and
and
To generate html/txt use:
Look at example that is included with file and all will be easy.
Also on Youtube

Use my script where you want under Creative Commons BY-SA License - you can edit it, develope and distribute, but add me in credits and use it under the same license.
Using is very easy.
Html.Doc table stores lines of your document, each index value is each line. You can easily insert lines and control inserting text with:
Code:
1
Html.Insert("font","size=10","This text's size is 10")
and
Code:
1
Html.InsertOther("br")
and
Code:
1
Html.InsertCustom("LINE")
and
Code:
1
Html.InsertCustom({"Line1","Line2","Line3"})
To generate html/txt use:
Code:
1
Html.Generate("my_file.html")
Look at example that is included with file and all will be easy.
Also on Youtube

Use my script where you want under Creative Commons BY-SA License - you can edit it, develope and distribute, but add me in credits and use it under the same license.
edited 5×, last 09.02.13 11:20:23 pm

Comments
19 comments



Log in!
You need to log in to be able to write comments!Log in
It's good for servers (default info about server). You can create what do you want in your HTML file. For example ranking of best player on your server. (I mean lua level and xp). But you think what you think.
Thanks, guys. Look at example after download. There is easy sample how to generate html file in cs2d folder.

i liked..
a script of html in game would be nice (:
type: put colors in name and bold, italic..
a script of html in game would be nice (:
type: put colors in name and bold, italic..
@
mafia_man: I've seen that, it's great, but mine is not only for chat
.


The idea is not new, I used method similiar to this here http://unrealsoftware.de/files_show.php?file=10420

Wow awesome! No backend serversided scripts required! The next step is to style the template :).



