From 1f245bf510fe3d96b1af1d6e1f34f78eb18d167a Mon Sep 17 00:00:00 2001 From: DEntisT Date: Mon, 24 Jun 2024 12:10:13 +0200 Subject: [PATCH] switching to new syntax. --- doc/components.md | 6 +- doc/const.md | 16 +- doc/for.md | 2 +- doc/forms.md | 12 +- doc/misc.md | 18 +- doc/modules.md | 2 +- doc/namespace.md | 16 +- doc/objclass.md | 42 ++-- doc/oper.md | 70 +++--- doc/options.md | 18 +- doc/persistent.md | 2 + doc/retref.md | 10 +- doc/static.md | 2 +- doc/switch.md | 8 +- doc/sysval.md | 4 +- doc/tags.md | 10 +- doc/tasks.md | 8 +- doc/template.md | 10 +- doc/try.md | 32 +-- doc/typedef.md | 12 +- doc/userargs.md | 8 +- doc/while.md | 6 +- scriptfiles/index.ps | Bin 3947 -> 3922 bytes scriptfiles/modules/class.ps | Bin 781 -> 777 bytes scriptfiles/modules/data.ps | Bin 1947 -> 1943 bytes scriptfiles/modules/discord.ps | Bin 1026 -> 1022 bytes scriptfiles/modules/enum.ps | Bin 2126 -> 2122 bytes scriptfiles/modules/files.ps | Bin 1656 -> 1652 bytes scriptfiles/modules/inline.ps | Bin 625 -> 621 bytes scriptfiles/modules/stdlib.ps | Bin 1085 -> 1065 bytes scriptfiles/modules/test.ps | Bin 438 -> 430 bytes src/modules/interpreter.inc | 410 +++++++++++++++++++-------------- src/modules/utils.inc | 14 +- src/pawnscript.pwn | 10 +- 34 files changed, 420 insertions(+), 328 deletions(-) diff --git a/doc/components.md b/doc/components.md index 09800c3..5fb6696 100644 --- a/doc/components.md +++ b/doc/components.md @@ -132,10 +132,12 @@ files.createdir("MyNewDirAgain") - Called when the code gets executed. ```cpp -extern&struct*public.main; +@extern + this->struct=default +int main() public { console.println("Hello World from main"); - return.int,1; + return int 1 } ``` diff --git a/doc/const.md b/doc/const.md index f0e8e9d..2808ab1 100644 --- a/doc/const.md +++ b/doc/const.md @@ -4,16 +4,16 @@ - You also may make constants in PawnScript: ```cpp -const*new.int,MY_FIRST_CONST=1 +const[int]MY_FIRST_CONST=1 ``` You also may create boolean and string constants: ```cpp -const*new.bool,MY_FIRST_CONST=true +const[bool]MY_FIRST_CONST=true -const*new.str,MY_FIRST_CONST="string" +const[str]MY_FIRST_CONST="string" ``` ## Data types @@ -23,7 +23,7 @@ const*new.str,MY_FIRST_CONST="string" - Integers are whole numbers. ```cpp -const*new.int,integer=1 +const[int]integer=27 ``` ### `bool` @@ -31,7 +31,7 @@ const*new.int,integer=1 - Booleans are variables that can either be true or false. ```cpp -const*new.bool,boolean=true +const[bool]boolean=false ``` ### `str` @@ -39,7 +39,7 @@ const*new.bool,boolean=true - Strings are words or sequences of characters. ```cpp -const*new.str,string="test" +const[str]string="Some text" ``` ### `double` @@ -47,7 +47,7 @@ const*new.str,string="test" - Doubles are numbers with decimal points. ```cpp -const*new.double,decimal_point=3.14 +const[double]decimal=45.3 ``` ### `char` @@ -55,5 +55,5 @@ const*new.double,decimal_point=3.14 - Single characters. ```cpp -const*new.char,character='6' +const[char]character='z' ``` \ No newline at end of file diff --git a/doc/for.md b/doc/for.md index 9360a21..8676885 100644 --- a/doc/for.md +++ b/doc/for.md @@ -30,7 +30,7 @@ For loop id 10 int ForTest2(num) public { console.println("'num' is {num@ForTest2}") - return,1 + return 1 } forlooptestvar=0 diff --git a/doc/forms.md b/doc/forms.md index 7fc7193..30097c5 100644 --- a/doc/forms.md +++ b/doc/forms.md @@ -35,7 +35,7 @@ You also may return values. str funcname() public { console.println("my first user functions") - static*new.str,return_str="this was returned" + static[str]return_str="this was returned" return return_str } ``` @@ -46,7 +46,7 @@ Then you can use this user function as an argument in a native function. str funcname() public { console.println("my first user functions") - static*new.str,return_str="this was returned" + static[str]return_str="this was returned" return return_str } @@ -65,7 +65,7 @@ user.funcname() - You may also use variables and constants as arguments in native functions. ```cpp -const*new.str,CONST_NAME="constant worked" +const[str]CONST_NAME="constant worked" console.println(CONST_NAME) ``` @@ -79,21 +79,21 @@ console.println(CONST_NAME) int functobehooked() public { console.println("HOOKED") - return,1 + return 1 } @hook int functobehooked() public { console.println("HOOKED 1") - return.int,1 + return int 1 } @hook int functobehooked() public { console.println("HOOKED 2") - return.int,1 + return int 1 } user.functobehooked() diff --git a/doc/misc.md b/doc/misc.md index 256f739..4258511 100644 --- a/doc/misc.md +++ b/doc/misc.md @@ -5,16 +5,16 @@ Use this to terminate the interpreter, after it was terminated, you'll need to restart the interpreter to run the code again. ```pawn -exit; +exit ``` ## String formatting - You can format any string argument in any form. ```cpp -new.str,test="Test string"; +new.str,test="Test string" -console.println("{test}"); +console.println("{test}") ``` Output: @@ -23,12 +23,12 @@ Test string ``` ```cpp -void testfunction(message) public; +void testfunction(message) public { - console.println(message@testfunction); + console.println(message@testfunction) } -user.testfunction("{test}"); +user.testfunction("{test}") ``` Output: @@ -39,10 +39,10 @@ Test string ## `defined` instruction ```cpp -new.int,variable=1; +new.int,variable=1 -if.equ,defined?variable,1->console.println("'variable' is defined!"); -if.equ,defined?dummyvar,1->console.println("This should not be printed!!"); +if.equ,defined?variable,1->console.println("'variable' is defined!") +if.equ,defined?dummyvar,1->console.println("This should not be printed!!") ``` Output: diff --git a/doc/modules.md b/doc/modules.md index 1ddb31b..02ca8e3 100644 --- a/doc/modules.md +++ b/doc/modules.md @@ -3,7 +3,7 @@ Afterwards you may import your module: ```cpp -#include:module_name; +#include:module_name ``` Make sure not to add the `*.ps` extension to the `module_name`. \ No newline at end of file diff --git a/doc/namespace.md b/doc/namespace.md index 14301a5..fe86cd0 100644 --- a/doc/namespace.md +++ b/doc/namespace.md @@ -17,14 +17,14 @@ Within the class code block, we can create a variable. ```cpp namespace customer { - new.str,name="Alex"; + new.str,name="Alex" } ``` To use this variable, we need to include the class name within the variable name; like this: ```cpp -console.println(customer::name); +console.println(customer::name) ``` --------------------------------------------------------------------------------------------------------- @@ -35,10 +35,10 @@ console.println(customer::name); ```cpp namespace customer { - new.str,name="Alex"; + new.str,name="Alex" } -console.println(customer::name); +console.println(customer::name) ``` @@ -47,15 +47,15 @@ We can hook the `customer` namespace: ```cpp namespace customer { - new.str,name="Alex"; + new.str,name="Alex" } -console.println(customer::name); +console.println(customer::name) using namespace customer { - new.int,age=12; + new.int,age=12 } -console.cout(customer::age); +console.cout(customer::age) ``` \ No newline at end of file diff --git a/doc/objclass.md b/doc/objclass.md index 182570c..6e72337 100644 --- a/doc/objclass.md +++ b/doc/objclass.md @@ -3,35 +3,35 @@ - Object-oriented programming (OOP) is a computer programming model that organizes software design around classes and objects. Classes are certain blocks of code, containing elements that can be accessed only via a certain object. After declaring an object object drags elements from the class and creates its own copies, allowing same variable names, but with different values. ```cpp -class TestClass; +class TestClass { - new.int,ClassTestVar=827346; - new.double,TestClassDouble=364.234; + new.int,ClassTestVar=827346 + new.double,TestClassDouble=364.234 } -object TestObj=TestClass; -console.cout.log(TestObj.ClassTestVar); -console.cout.log(TestObj.TestClassDouble); -console.println.log("#1 {TestObj.ClassTestVar} & {TestObj.TestClassDouble}"); +object TestObj=TestClass +console.cout.log(TestObj.ClassTestVar) +console.cout.log(TestObj.TestClassDouble) +console.println.log("#1 {TestObj.ClassTestVar} & {TestObj.TestClassDouble}") -object TestObj2=TestClass; -TestObj2.ClassTestVar=9376216; -TestObj2.TestClassDouble=314.159267243; -console.cout.log(TestObj2.ClassTestVar); -console.cout.log(TestObj2.TestClassDouble); -console.println.log("#2 {TestObj2.ClassTestVar} & {TestObj2.TestClassDouble}"); +object TestObj2=TestClass +TestObj2.ClassTestVar=9376216 +TestObj2.TestClassDouble=314.159267243 +console.cout.log(TestObj2.ClassTestVar) +console.cout.log(TestObj2.TestClassDouble) +console.println.log("#2 {TestObj2.ClassTestVar} & {TestObj2.TestClassDouble}") -class TestClass2; +class TestClass2 { - new.int,ClassTestVar=100000; - new.double,TestClassDouble=21.7636; - new.bool,TestClassBool=false; + new.int,ClassTestVar=100000 + new.double,TestClassDouble=21.7636 + new.bool,TestClassBool=false } -object TestObj3=TestClass2; -console.cout.log(TestObj3.ClassTestVar); -console.cout.log(TestObj3.TestClassDouble); -console.println.log("#3 {TestObj3.ClassTestVar} & {TestObj3.TestClassDouble} & {TestObj3.TestClassBool}"); +object TestObj3=TestClass2 +console.cout.log(TestObj3.ClassTestVar) +console.cout.log(TestObj3.TestClassDouble) +console.println.log("#3 {TestObj3.ClassTestVar} & {TestObj3.TestClassDouble} & {TestObj3.TestClassBool}") ``` Output: diff --git a/doc/oper.md b/doc/oper.md index 1388cc6..48acb30 100644 --- a/doc/oper.md +++ b/doc/oper.md @@ -5,7 +5,7 @@ ### Operator: `+` - Addition. ```pawn -console.cout(1+1); +console.cout(1+1) ``` Output: @@ -17,7 +17,7 @@ Output: ### Operator: `-` - Subtraction. ```pawn -console.cout(1-1); +console.cout(1-1) ``` Output: @@ -29,7 +29,7 @@ Output: ### Operator: `*` - Multiplication. ```pawn -console.cout(1*1); +console.cout(1*1) ``` Output: @@ -41,7 +41,7 @@ Output: ### Operator: `/` - Division. ```pawn -console.cout(4/2); +console.cout(4/2) ``` Output: @@ -53,7 +53,7 @@ Output: ### Operator: `^` - Exponentiation. ```pawn -console.cout(3^2); +console.cout(3^2) ``` Output: @@ -65,7 +65,7 @@ Output: ### Operator: `%` - Division remainder. ```pawn -console.cout(10%3); +console.cout(10%3) ``` Output: @@ -77,31 +77,31 @@ Output: ### Operator: `::` - Namespace access operator. ```cpp -namespace,MyNameSpace; +namespace MyNameSpace { - void MyFunc() public; + void MyFunc() public { - console.println.log("I'm here!"); + console.println.log("I'm here!") } } -user.MyNameSpace::MyFunc; +user.MyNameSpace::MyFunc ``` ### Operator: `.` - Code block access operator. ```cpp -console.println.log("Hi!"); +console.println.log("Hi!") ``` ### Operator: `@` - Memory access operator. ```cpp -void MyFunc(argument) public; +void MyFunc(argument) public { - console.cout.log(argument@MyFunc); + console.cout.log(argument@MyFunc) } ``` @@ -110,7 +110,7 @@ void MyFunc(argument) public; - Conditional operator. ```cpp -if.equ,1,1->console.println.log("1 and 1 are equal"); +if.equ,1,1->console.println.log("1 and 1 are equal") ``` ### Operator: `<-` @@ -118,7 +118,7 @@ if.equ,1,1->console.println.log("1 and 1 are equal"); - Attribute assignment operator. ```cpp -MyTag<-new.int,myvar=1; +MyTag<-new.int,myvar=1 ``` ### Operator: `=` @@ -126,7 +126,7 @@ MyTag<-new.int,myvar=1; - Data assignment operator. ```cpp -new.int,myvar=1; +new.int,myvar=1 ``` ### Operator: `|` @@ -134,7 +134,7 @@ new.int,myvar=1; - Bitwise OR. ```cpp -console.cout.log(1|0); +console.cout.log(1|0) ``` Output: @@ -147,7 +147,7 @@ Output: - Bitwise AND. ```cpp -console.cout.log(1&0); +console.cout.log(1&0) ``` Output: @@ -161,48 +161,48 @@ Output: - Is equal to. ```cpp -new.int,testvar=1==1; -console.println.log("1==1: {testvar}"); +new.int,testvar=1==1 +console.println.log("1==1: {testvar}") ``` ### Operator: `!=` - Not equal to. ```cpp -testvar=1!=1; -console.println.log("1!=1: {testvar}"); +testvar=1!=1 +console.println.log("1!=1: {testvar}") ``` ### Operator: `>=` - Greater equal to. ```cpp -testvar=1>=1; -console.println.log("1>=1: {testvar}"); +testvar=1>=1 +console.println.log("1>=1: {testvar}") ``` ### Operator: `<=` - Less or equal to. ```cpp -testvar=1<=2; -console.println.log("1<=2: {testvar}"); +testvar=1<=2 +console.println.log("1<=2: {testvar}") ``` ### Operator: `<` - Less than. ```cpp -testvar=1<2; -console.println.log("1<2: {testvar}"); +testvar=1<2 +console.println.log("1<2: {testvar}") ``` ### Operator: `>` - Greater than. ```cpp -testvar=1>2; -console.println.log("1>2: {testvar}"); +testvar=1>2 +console.println.log("1>2: {testvar}") ``` --------------------------------------------------------------------------------------------------------- @@ -211,17 +211,17 @@ console.println.log("1>2: {testvar}"); Little example: ```cpp -if.equ,5/5,1+0->console.println,"Math test passed!"; +if.equ,5/5,1+0->console.println,"Math test passed!" ``` You may also use constants, variables and user functions as an operator arguments: ```cpp -new.int,MATHVAR=1+1; -console.cout(MATHVAR); +new.int,MATHVAR=1+1 +console.cout(MATHVAR) -new.int,MATHVAR22=6+MATHVAR; -console.cout(MATHVAR22); +new.int,MATHVAR22=6+MATHVAR +console.cout(MATHVAR22) ``` Output: diff --git a/doc/options.md b/doc/options.md index 5fe2ee7..a8ecec2 100644 --- a/doc/options.md +++ b/doc/options.md @@ -7,8 +7,8 @@ You can modify some interpreter options using `#pragma`. You may use `default` i You can toggle PawnScript debugging on or off. ```cpp -#pragma:debug,false; -#pragma:debug,true; +#pragma:debug,false +#pragma:debug,true ``` ## `warnings` @@ -17,8 +17,8 @@ You can toggle PawnScript debugging on or off. You can toggle PawnScript warning system on or off. ```cpp -#pragma:warnings,false; -#pragma:warnings,true; +#pragma:warnings,false +#pragma:warnings,true ``` ## `hooking` @@ -27,8 +27,8 @@ You can toggle PawnScript warning system on or off. You can toggle PawnScript hooking system on or off. ```cpp -#pragma:hooking,false; -#pragma:hooking,true; +#pragma:hooking,false +#pragma:hooking,true ``` ## `ctrlchar` @@ -37,7 +37,7 @@ You can toggle PawnScript hooking system on or off. Change the parsing escape character. ```cpp -#pragma:ctrlchar,'*'; +#pragma:ctrlchar,'*' ``` ## `reqref` @@ -46,7 +46,7 @@ Change the parsing escape character. Enable warnings when return reference isn't provided. ```cpp -#pragma:reqref,true; +#pragma:reqref,true ``` ## `dynamic` @@ -55,7 +55,7 @@ Enable warnings when return reference isn't provided. Sets the amount of usable cells in which entity data will be stored. Each entity in PawnScript symbolises one cell, for example, a variable occupies 1 cell and stores all its data inside. ```cpp -#pragma:dynamic,default; +#pragma:dynamic,default //or #pragma:dynamic,100; // Must be lower than the default value. ``` diff --git a/doc/persistent.md b/doc/persistent.md index 14a6478..c50961c 100644 --- a/doc/persistent.md +++ b/doc/persistent.md @@ -38,6 +38,8 @@ console.println.log("Imported {pdmtest5}"); ``` +**NOTE**: Semicolons are optional. + Output: ``` diff --git a/doc/retref.md b/doc/retref.md index d0d544f..b620397 100644 --- a/doc/retref.md +++ b/doc/retref.md @@ -3,18 +3,18 @@ - Return reference in PawnScript is a certain variable a return value of a native function will be stored in. ```cpp -#pragma:reqref,true; +#pragma:reqref,true -new.int.unsigned,ReturnReference__=9283; +new.int.unsigned,ReturnReference__=9283 console.println("Heyy"); // This will give a warning. -console.println.log("Hello World again") ReturnReference__; +console.println.log("Hello World again") ReturnReference__ -#pragma:reqref,false; +#pragma:reqref,false -console.cout(ReturnReference__); +console.cout(ReturnReference__) ``` Output: diff --git a/doc/static.md b/doc/static.md index b6616b2..cf6f088 100644 --- a/doc/static.md +++ b/doc/static.md @@ -5,7 +5,7 @@ ```cpp int StaticTest() public { - static*new.str,statictest="Static works here" + static[str]statictest="Static works here" console.println.log(statictest) return 1 } diff --git a/doc/switch.md b/doc/switch.md index 45861c4..ce6720b 100644 --- a/doc/switch.md +++ b/doc/switch.md @@ -3,13 +3,13 @@ - A case or switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of program execution via a multiway branch. ```cpp -new.int,switchtest=23; +new.int,switchtest=23 switch,switchtest; -case,1->console.println("switchtest is 1"); -case,23->console.println("switchtest is 23"); -case,2->console.println("switchtest is 2"); +case,1->console.println("switchtest is 1") +case,23->console.println("switchtest is 23") +case,2->console.println("switchtest is 2") ``` Output: diff --git a/doc/sysval.md b/doc/sysval.md index 6c47a8b..625426b 100644 --- a/doc/sysval.md +++ b/doc/sysval.md @@ -9,8 +9,8 @@ Return type: `int` - Returns a processed form id. ```cpp -new.int,formid=__proccessed_form_id; -console.println("'inlinetest' is {formid}"); +new.int,formid=__proccessed_form_id +console.println("'inlinetest' is {formid}") ``` ## `__majorver` diff --git a/doc/tags.md b/doc/tags.md index 272ce61..edeacad 100644 --- a/doc/tags.md +++ b/doc/tags.md @@ -8,7 +8,7 @@ ```cpp tag MyTag -MyTag<-new.int,testvar=10; +MyTag<-new.int,testvar=10 ``` ## Example `#2` @@ -21,7 +21,7 @@ namespace TagTestNameSpace tag MyTag } -TagTestNameSpace::MyTag<-new.int,testvar=1; +TagTestNameSpace::MyTag<-new.int,testvar=1 ``` ## `tagof` instruction @@ -29,9 +29,9 @@ TagTestNameSpace::MyTag<-new.int,testvar=1; - Since tags serve as little marks you can mark your special variables with, `tagof` instruction can be used to check if specific data is marked with a specific tag. ```cpp -tag MyNewTag; -MyNewTag<-new.int,tagtestinteger=1; -if.equ,tagof?tagtestinteger,MyNewTag->console.println.log("tagtestinteger has the MyNewTag!"); +tag MyNewTag +MyNewTag<-new.int,tagtestinteger=1 +if.equ,tagof?tagtestinteger,MyNewTag->console.println.log("tagtestinteger has the MyNewTag!") ``` Output: diff --git a/doc/tasks.md b/doc/tasks.md index 466ff0f..46f7efa 100644 --- a/doc/tasks.md +++ b/doc/tasks.md @@ -4,11 +4,11 @@ ```cpp -@task; - this->interval=1000; -void mytask() public; +@task + this->interval=1000 +void mytask() public { - console.println("Task works!"); + console.println("Task works!") } ``` diff --git a/doc/template.md b/doc/template.md index 4c374e3..1b08c96 100644 --- a/doc/template.md +++ b/doc/template.md @@ -3,8 +3,8 @@ - Templates are used to substitute long function calls with shorter keywords. ```cpp -templatecpl; -cpl("Hi."); +templatecpl +cpl("Hi.") ``` Output: @@ -18,11 +18,11 @@ Hi. - Also possible. ```cpp -namespace nm; +namespace nm { - templatecpl; + templatecpl } -nm::cpl("Hi."); +nm::cpl("Hi.") ``` Output: diff --git a/doc/try.md b/doc/try.md index 3873faa..78227b4 100644 --- a/doc/try.md +++ b/doc/try.md @@ -3,34 +3,34 @@ - `try` keyword is a `do` version made for loops, allowing you to execute more code at once. `break` and `continue` are 2 famous concepts of **break**ing the loop, and skipping the **continu**ous iteration. ```cpp -try; +try { - console.println.log("Try works!"); - break; + console.println.log("Try works!") + break } -if.equ,1,1->while.equ,1,1->; +if.equ,1,1->while.equ,1,1-> -new.int,fortestagainomg=0; +new.int,fortestagainomg=0 -try; +try { - if.equ,fortestagainomg,5->continue; - else->if.equ,fortestagainomg,8->break; - else->do; + if.equ,fortestagainomg,5->continue + else->if.equ,fortestagainomg,8->break + else->do { - console.cout(fortestagainomg); + console.cout(fortestagainomg) } } -for.int,fortestagainomg,10->; +for.int,fortestagainomg,10-> -try; +try { - if.equ,fortestagainomg,15->break; - console.cout(fortestagainomg); - fortestagainomg=fortestagainomg+1; + if.equ,fortestagainomg,15->break + console.cout(fortestagainomg) + fortestagainomg=fortestagainomg+1 } -while.notequ,fortestagainomg,20->; +while.notequ,fortestagainomg,20-> ``` Output: diff --git a/doc/typedef.md b/doc/typedef.md index 63693b1..0fa8585 100644 --- a/doc/typedef.md +++ b/doc/typedef.md @@ -5,10 +5,10 @@ Example: ```cpp -typedef,const*new.int,constint; +typedef,const*new.int,constint -constint,typedeftest=1234234; -console.println.log("{typedeftest}"); +constint,typedeftest=1234234 +console.println.log("{typedeftest}") ``` Output: @@ -22,10 +22,10 @@ Output: - You can also create a type definition within a namespace. ```cpp -namespace mytestnamespace; +namespace mytestnamespace { - typedef,new.int.short,shortint; + typedef,new.int.short,shortint } -mytestnamespace::shortint,myvar=0; +mytestnamespace::shortint,myvar=0 ``` \ No newline at end of file diff --git a/doc/userargs.md b/doc/userargs.md index 67d15ca..78f32ce 100644 --- a/doc/userargs.md +++ b/doc/userargs.md @@ -1,11 +1,11 @@ # Passing arguments to user functions ```cpp -void form(text, num) public; +void form(text, num) public { - console.println(text@form); - console.cout(num@form); + console.println(text@form) + console.cout(num@form) } -user.form("text",1); +user.form("text",1) ``` \ No newline at end of file diff --git a/doc/while.md b/doc/while.md index 68c1600..4ee226d 100644 --- a/doc/while.md +++ b/doc/while.md @@ -4,8 +4,8 @@ - While loops are also possible in PawnScript: ```cpp -new.int,testvar=0; -while.notequ,testvar,10->testvar=testvar+1&console.println("{testvar}"); +new.int,testvar=0 +while.notequ,testvar,10->testvar=testvar+1&console.println("{testvar}") ``` Code above is going to count from 1 to 10. @@ -13,7 +13,7 @@ Code above is going to count from 1 to 10. You may also combine other statements; such as if-expressions; with while-loops. ```cpp -if.equ,1,1->while.equ,testvar,11->testvar=testvar+1&console.println("This should be printed again!"); +if.equ,1,1->while.equ,testvar,11->testvar=testvar+1&console.println("This should be printed again!") ``` --------------------------------------------------------------------------------------------------------- diff --git a/scriptfiles/index.ps b/scriptfiles/index.ps index 1f69fc3e2845a0af21348ca1f34e51d4d51e4e3e..f3d211f05591154c8f5f9e9b08e71dd45438b84e 100644 GIT binary patch delta 104 zcmaDYcS&x7!$hZIiRh&K{G3=9SEo?-c>jP9Pk%q#w8Wg^)Qy*pGO|Wz=9R=wUce*{ vWgTD=gRnN=XL12b7nc;pPS#Jrhd~y@>l{VM2yx{@>$-E?9 delta 145 zcmca4_gZd(!$iAMS*^U(a=oPd{2Uz@SEo?-c>jP9Pk%q#w8Wg^RO^kWk1}e4Rb=Ls z==eHD#0U5|M!E(C+Zq}e7+7;9=jRodz~v`zWD?_q^ERJha$$sUi%W`hCX2GziGn3T WJRe_2e_JJ=+{An(>&tvg7j5RtluOxQkc{?TmG%p50 delta 20 bcmeBV>t&m8j8iKwwOlVVuS93#X*(tWOb7>8 diff --git a/scriptfiles/modules/data.ps b/scriptfiles/modules/data.ps index 5e454d86328243d3a4725c26833fbf9438fe05c2..f3c47d6154b025175de6da916943f6ea07e07ccd 100644 GIT binary patch delta 43 zcmbQuKb?PrGYdy_N`7flPHOCCf0kZGw&>)H#G=^E&shB!ne??Lo3N)dY3Tz1JW~xz delta 45 xcmbQvKbwDpGYgMaUTV2sN`7flPO8pkZ)Mq-i9=6kGujFa`)(*aYI4z~aR diff --git a/scriptfiles/modules/discord.ps b/scriptfiles/modules/discord.ps index 4aad2245f3111f71f5f6fac9bcaf52df68ddef36..a2c4253126d1fefb84790191a2193837e4bd9cd4 100644 GIT binary patch delta 18 ZcmZqT_{YBC9V2UWW?o6`=I@N$OaMoJ2JZj> delta 22 dcmeyz-o&xt9V4e!UTV2sW?qTT=Fg1WOaNp=2n7HD diff --git a/scriptfiles/modules/enum.ps b/scriptfiles/modules/enum.ps index 616498d45cccf28971c910a5eb502a1711864d40..55ebaef29d3abcda8561aea3956d96f88e06780a 100644 GIT binary patch delta 18 ZcmX>na7tila86)@B{Qd1UTV2saY>QRW;QRW&;)%CIDW22SES; diff --git a/scriptfiles/modules/inline.ps b/scriptfiles/modules/inline.ps index c593ce6d081c12722d25a4f98058c71d36564074..082f07df0e01880337aa5e3d52dd6cf480b64cd8 100644 GIT binary patch delta 16 Ycmey!@|I=7R@Uguypq_B`!+KI06(e+R{#J2 delta 20 ccmaFM@{wi2R!*(F)N;Mdyb_&_yEZcd09sE7Z2$lO diff --git a/scriptfiles/modules/stdlib.ps b/scriptfiles/modules/stdlib.ps index e9864212aebc2572063d2dd23b19601fe3b9e30f..5679374deebfe5ce9d9251a55b29871a01a50aee 100644 GIT binary patch delta 102 zcmdnXv65p$6{Bo)aY<2ZUTIDakhWD)P~zfD&d)0@iB8T)EQ;McpYbrGd2~vCX;MyV gY(b{2v7Vs`Oa)XlwKONS$ks^D+z?G-@>1p*07AVaK>z>% delta 122 zcmZ3O*UTIDakhWD)P~zfD&d)0@0ZS!kBo^sxp3Zof(HYE7 m$uCXHN!2OHv^CZ