Dateien

> > CS2D > Lua Scripts > [Bolt]HTML Creator
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [Bolt]HTML Creator >

19 Kommentare3 kb, 489 Downloads

alt [Bolt]HTML Creator

Avo
User Off Offline

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:


1
Html.Insert("font","size=10","This text's size is 10")
and
1
Html.InsertOther("br")
and
1
Html.InsertCustom("LINE")
and
1
Html.InsertCustom({"Line1","Line2","Line3"})

To generate html/txt use:
1
Html.Generate("my_file.html")


Look at example that is included with file and all will be easy.
Also on Youtube
IMG:https://i.creativecommons.org/l/by-sa/3.0/88x31.png

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.
5× editiert, zuletzt 09.02.13 23:20:23
Zugelassen von EngiN33R

Download Download

3 kb, 489 Downloads

Kommentare

19 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

XiBaoZi
COMMUNITY BANNED Off Offline

Good stuff.
Ich mag es!

alt

3RROR
User Off Offline

Pretty nice
Ich mag es!

alt

Avo
User Off Offline

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.

alt

Infinite Rain
Reviewer Off Offline

I think this is useless
1× editiert, zuletzt 23.07.12 14:26:00

alt

Eternal
User Off Offline

Nice work.
Ich mag es!

alt

Avo
User Off Offline

Thanks, guys. Look at example after download. There is easy sample how to generate html file in cs2d folder.

alt

boong
User Off Offline

i liked..
a script of html in game would be nice (:
type: put colors in name and bold, italic..
Ich mag es!

alt

Avo
User Off Offline

@user mafia_man: I've seen that, it's great, but mine is not only for chat .

alt

Zurak
User Off Offline

very helpful, great idea.
Ich mag es!

alt

krabob
User Off Offline

This is actually really nice. Good work
Ich mag es!

alt

Apache uwu
User Off Offline

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

alt

Happy Killer
BANNED Off Offline

Cool idea. Nice work
Ich mag es!

alt

HaRe
User Off Offline

Kinda useless when there is already an CS2D Server query, Which queries Servername, Password, Players online and so on. But keep the good work up, I like this one!
Ich mag es!

alt

BcY
Reviewer Spielt CS2D

good idea.
Ich mag es!

alt

Chingy
User Off Offline

might be useful
Ich mag es!

alt

Avo
User Off Offline

I gonna make same other functions, but in free time.

alt

Suprise
BANNED Off Offline

Agree Awsome, great idea. Make more like this.
Ich mag es!

alt

Shawni
User Off Offline

Nice idea
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang