aboutsummaryrefslogtreecommitdiffstats
path: root/PlugIns/Idle-Monster.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'PlugIns/Idle-Monster.lisp')
-rw-r--r--PlugIns/Idle-Monster.lisp10
1 files changed, 10 insertions, 0 deletions
diff --git a/PlugIns/Idle-Monster.lisp b/PlugIns/Idle-Monster.lisp
new file mode 100644
index 0000000..827813a
--- /dev/null
+++ b/PlugIns/Idle-Monster.lisp
@@ -0,0 +1,10 @@
+(defpackage idle-monster
+ (:use :cl :cl-user :moxie :bjc-utils))
+(in-package :idle-monster)
+
+(defun send-idle-cmd (&rest args)
+ (declare (ignore args))
+ "Sends a command to the current world when idle."
+ (print-to-world *world* (format nil "Idle!~%")))
+
+;(add-hook 'send-idle-cmd :timer-hook) \ No newline at end of file