Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am krilliac on github.
  • I am krill156 (https://keybase.io/krill156) on keybase.
  • I have a public key ASAf6prSN_pCTcio9pYQKWqKx4WtvGvtxsbUyT_KvvNFSQo

To claim this, I am signing this object:

@Krilliac
Krilliac / GM_Commands.lua
Last active March 18, 2021 20:22
Core GM Commands
--GameMaster Chat Commands
--ToDo: Allow only authorized GM/Admins to access and use this command
--GameMaster Chat Commands
--ToDo: Allow only authorized GM/Admins to access and use this command
local commandlist = {"!commands", "!invisible", "!visible", "!fly", "!walk", "!speed"}
local invisMsg = "%s is now invisible"
local visMsg = "%s is now visible"
local flyMsg = "%s is now flying"
private static async Task PutTaskDelay()
{
await Task.Delay(8_000); //8 seconds, split by a digit separator
}
private async void GenericExceptionHandler(object sender, UnhandledExceptionEventArgs e)
{
try
{
var ex = (Exception)e.ExceptionObject;