English [_3yrus] Cs2d Jet Script V:1 icon

8 comments
29.07.17 04:39:26 pm
like 1 likes it!
71 kb, 51 Downloads
_3yrus
User
Offline Off
Hi There !

After several weeks hard working, today, first version of cs2d lua preprocessor called Jet Script is ready for use .jet script files extension is .jet.lua !

what this script do is to make coding more optimum and able you to do some repetitive things by writing just a one or two characters.

moreover there is a lot of other special stuff that you can use them for more pleasent scripting.

Jet Script Documentation >


Please read documentation !

At the end i change classes.lua(its on sys/lua/samples) to classes.jet.lua.

Simple lua code which contain 2364 characters(100 lines code) :
Classes.lua >

Jet script code which contain less than 1550 characters(77 lines code) :
Classes.jet.lua >


Its not miracle ?

I would appreciate any suggestion !

Made by
edited 3×, last 31.07.17 11:01:06 am
x This file has been reviewed and declined by Yates (31.07.17 01:20:29 pm)
This looks very unfinished and does not appear to be in a state that anyone can use it to improve their own coding style/methods.

Please either do one of the following:
1. Finish the script until it is at a state where people can use it without drawbacks.
2. Create a thread, propose your idea and ask for suggestions until you have a base. Possibly open a Git repository for development.

I suggest the latter. You're blindly coding a framework for developers and you don't know what they want.

Comments

8 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
31.07.17 11:44:45 am
Up
404_Monk
User
Offline Off
What's the point? all I see is you made the whole language more complicated.
31.07.17 11:00:25 am
Up
_3yrus
User
Offline Off
user JeeewNazi : Enjoy
user Talented Doge : i'm working on it.
user Bowlinghead :
1- @ and (()) are optional , you can also use usual way(parse and menu).
2-
Code:
1
Jet.Ui.Paint.Rec(ShapeName,BackgroundColor,X,Y,Width,Height,BoderWidth,BorderColor,Opacity)

this function paint a rectangle on the screen, and shapename is the name for editing this.
rgb color form : 'RRR,GGG,BBB'
e.g :
Code:
1
Jet.Ui.Paint.Rec('myrec','255,255,255',350,400,100,150,1,''0,0,0',0.8)


and about combination ,do you mean something like dofile ??

tnks for feedback !
30.07.17 02:26:41 pm
Up
Talented Doge
User
Offline Off
° You can't write anything(even comments) outside of hooks !

This is unacceptable.
30.07.17 02:17:18 pm
Up
Yates
Reviewer
Offline Off
Don't reupload scripts, even if they are newer versions.
30.07.17 12:03:17 pm
Up
Bowlinghead
User
Offline Off
You can edit the description and files as it is basicly the same. My old comment still applies...

I dont know, but I really dislike the @ and (()) thingy. You just save like 3 chars but its very unreadable.

Yet, I really dont understand this framework.
Code:
1
2
3
MyRec = Jet.Ui.Paint.Rec(ShapeName,BackgroundColor,X,Y,Width,Height,BoderWidth,BorderColor,Opacity)
MyRec[1] -- its border
MyRec[2] -- its inside

How do I parse these arguments? What is "ShapeName" and why do I need it? I thought this thing is called "MyRec"? And how is "BackgroundColor" supposed to be (is it RGB string?) No one knows.

There must be another use for $:
Quote:
To use variables in string(just double quotation) simply just write $ before variable name inside string.
Code:
1
DayNight.Time = $2 or 0 -- Second input after name


How do I combine lua scripts with jet scripts?
How do I combine jet scripts with jet scripts?
29.07.17 05:50:21 pm
like I like it!
Up
JeeewNazi
User
Offline Off
You made someone's life easier.
29.07.17 05:28:33 pm
Up
_3yrus
User
Offline Off
user Girl : it makes coding mush easier !
edited 1×, last 29.07.17 06:55:46 pm
To the start Previous 1 Next To the start