summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index d4fef57f..c6b90043 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -583,6 +583,10 @@ function script get {
return getvariableofnpc(getarg(0), getarg(1));
}
+function script sc_check {
+ return getstatus(getarg(0), getarg(1, 0));
+}
+
function script wgm {
charcommand("@request "+getarg(0));
return;