diff options
Diffstat (limited to 'pkg/lang/modules/core/core.lang')
| -rw-r--r-- | pkg/lang/modules/core/core.lang | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/lang/modules/core/core.lang b/pkg/lang/modules/core/core.lang index e6be2d5..94fe379 100644 --- a/pkg/lang/modules/core/core.lang +++ b/pkg/lang/modules/core/core.lang @@ -62,6 +62,10 @@ fn say(message) { native(":core:say", message) } +fn sleep(milliseconds) { + native(":core:sleep", milliseconds) +} + fn ping() { return "Pong!" } @@ -75,4 +79,5 @@ global Array global Function global say +global sleep global ping \ No newline at end of file |
