Recent changes
Jump to navigation
Jump to search
Track the most recent changes to the wiki on this page.
List of abbreviations:
- N
- This edit created a new page (also see list of new pages)
- m
- This is a minor edit
- b
- This edit was performed by a bot
- (±123)
- The page size changed by this number of bytes
26 May 2024
N 12:12 | PathIsDirectory diffhist +1,630 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a directory.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsDirectory ( string path ) </syntaxhighlight> {{OOP||path:isDirectory}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a directory, '''false''' otherwise. ==Example==...") |
N 12:10 | String.repeat diffhist +943 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function repeats a substring n times. ==Syntax== <syntaxhighlight lang="lua"> string string.repetition ( string what, int n ) </syntaxhighlight> ===Required Arguments=== * '''what''': String you want to repeat * '''n''': Number of times you want the string to repeat ===Returns=== Returns repeated string ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.repetition(what, n)...") |
|
12:02 | Template:Useful Functions 3 changes history +410 [Tracer (3×)] | |||
|
12:02 (cur | prev) +116 Tracer talk contribs (Added new function: `string.repeat`) | ||||
|
11:22 (cur | prev) +137 Tracer talk contribs (Added `string.startsWith`) | ||||
|
10:42 (cur | prev) +157 Tracer talk contribs (Added String functions) |
N 11:32 | PathIsFile diffhist +861 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a file.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsFile ( string path ) </syntaxhighlight> {{OOP||path:isFile}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a file, '''false''' otherwise. ==Example== <section name="Share...") |
N 11:25 | String.startsWith diffhist +842 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string starts with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.startsWith ( string prefix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Prefix you want to check your string against ===Returns=== Returns true if string starts with a prefix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.startsWith...") |
|
N 11:20 | PathListDir 2 changes history +1,638 [Tracer (2×)] | |||
m |
|
11:20 (cur | prev) +7 Tracer talk contribs (Fixed `See also` section) | |||
N |
|
11:20 (cur | prev) +1,631 Tracer talk contribs (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470| Reads a specified directory and returns all entries inside of it. }} ==Syntax== <syntaxhighlight lang="lua"> table pathListDir ( string path ) </syntaxhighlight> {{OOP||path:listDir}} ===Required Arguments=== *'''path:''' A string containing a path you want to get entries from ===Returns=== Returns table with all entries in a specified directory. ==Example== <section name="Client" clas...") |
N 10:48 | String.endsWith diffhist +871 Tracer talk contribs (Created page with "{{Useful Function}} __NOTOC__ This function checks if a string ends with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.endsWith ( string suffix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Suffix you want to check your string against ===Returns=== Returns true if string ends with a suffix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string:endsWith(suffix)...") |
N 10:33 | Template:Shared path functions diffhist +182 Tracer talk contribs (Created page with "<ul> {{New items|3.0161|1.6.0| <li>pathListDir</li> <li>pathIsFile</li> <li>pathIsDirectory</li> |22470}} </ul> <noinclude> Category:Functions templates </noinclude>") |
10:32 | Shared Scripting Functions diffhist +46 Tracer talk contribs (Added path functions) |
N 10:30 | GetAccountType diffhist +1,199 Tracer talk contribs (Created page with "__NOTOC__ {{Server function}} {{New feature/item|3.0161|1.6.0|22470|This function returns an account type.}} ==Syntax== <syntaxhighlight lang="lua"> string getAccountType ( account theAccount ) </syntaxhighlight> {{OOP|This function is a static function underneath the Account class.|Account.getType||}} ===Required Arguments=== *'''theAccount:''' An account you want to get info from ===Returns=== Returns ''string'' containing the type of the account if t...") |
10:07 | Template:Account functions diffhist +63 Tracer talk contribs (Added new function: `getAccountType`) |
10:06 | Template:Account events diffhist +93 Tracer talk contribs (Added new events: `onAccountCreate`, `onAccountRemove`) |
|
N 10:03 | OnAccountCreate 2 changes history +810 [Tracer (2×)] | |||
m |
|
10:03 (cur | prev) −1 Tracer talk contribs (Fixed a typo) | |||
N |
|
10:01 (cur | prev) +811 Tracer talk contribs (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is created}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was created ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...") |
N 10:02 | OnAccountRemove diffhist +833 Tracer talk contribs (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is removed}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was removed ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa...") |
|
09:49 | Changes in 1.6.1 3 changes history +536 [Tracer (3×)] | |||
|
09:49 (cur | prev) 0 Tracer talk contribs | ||||
m |
|
09:49 (cur | prev) +20 Tracer talk contribs (Added new function: `getAccountType`) | |||
m |
|
09:45 (cur | prev) +516 Tracer talk contribs (Added new features from Github) |
25 May 2024
m 20:42 | Changes in 1.6.1 diffhist −28 Prox talk contribs (update) |
17:05 | User creation log User account Felix5k talk contribs was created |
|
N 15:11 | RestoreAllGameBuildings 3 changes history +410 [TheNormalnij (3×)] | |||
|
15:11 (cur | prev) −1 TheNormalnij talk contribs | ||||
m |
|
15:10 (cur | prev) 0 TheNormalnij talk contribs | |||
N |
|
15:10 (cur | prev) +411 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}") |
|
N 15:05 | RemoveAllGameBuildings 2 changes history +393 [TheNormalnij (2×)] | |||
|
15:05 (cur | prev) +94 TheNormalnij talk contribs (Add note) | ||||
N |
|
14:59 (cur | prev) +299 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} ==Syntax== <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}") |
m 15:01 | Template:Building functions diffhist 0 TheNormalnij talk contribs (Fix build number) |