Skip to content

Commit 1a93f90

Browse files
committed
fix unpack link and list global variables
1 parent 0e730c7 commit 1a93f90

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

reference.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ Libraries and utilities exposed to the script environment.
2727
- :icon-code: [`select`](https://devdocs.io/lua/index#pdf-select)
2828
- :icon-code: [`tonumber`](https://devdocs.io/lua/index#pdf-tonumber)
2929
- :icon-code: [`tostring`](https://devdocs.io/lua/index#pdf-tostring)
30-
- :icon-code: [`unpack`](https://devdocs.io/lua/index#pdf-unpack)
3130
- :icon-code: [`require`](https://devdocs.io/lua/index#pdf-require)
31+
- :icon-code: [`unpack`](https://devdocs.io/lua/index#pdf-table.unpack)
32+
- **Global Variables**
33+
- :icon-italic: `script`
34+
- :icon-italic: `server`
35+
- :icon-italic: `scheduler`
3236
==-
3337

3438
=== Script
@@ -37,9 +41,6 @@ Main script class available in the global scope of each script. Provides access
3741
--- Returns the name of the script.
3842
script.name: string
3943

40-
-- Returns the server instance.
41-
script.server: Server
42-
4344
--- Returns the script's Logger instance.
4445
script.logger: Logger
4546
```

0 commit comments

Comments
 (0)