Skip to content

Instantly share code, notes, and snippets.

View Bibli2311's full-sized avatar

Oscar Vagle Bibli2311

View GitHub Profile
@Bibli2311
Bibli2311 / MoonSharpInfiniteLoopCheck
Created April 27, 2021 10:36 — forked from xanathar/MoonSharpInfiniteLoopCheck
[MoonSharp] - How to limit execution of a script to n instructions
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MoonSharp.Interpreter;
using MoonSharp.Interpreter.Debugging;
namespace Tutorials.Chapters
{