From 0bb41b771c63083affb015839846431678e95644 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sun, 8 Jan 2023 10:39:20 -0500 Subject: [PATCH] Add test script --- typeclasses/scripts.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/typeclasses/scripts.py b/typeclasses/scripts.py index 63f3bb8..2e47bd5 100644 --- a/typeclasses/scripts.py +++ b/typeclasses/scripts.py @@ -14,6 +14,13 @@ just overloads its hooks to have it perform its function. from evennia.scripts.scripts import DefaultScript +class TestScript(DefaultScript): + def at_script_creation(self): + self.key = "testscript" + self.interval = 60 + + def at_repeat(self): + self.obj.msg_contents("hewwo") class Script(DefaultScript): """