summaryrefslogtreecommitdiff
path: root/npc/commands/wgm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/wgm.txt')
-rw-r--r--npc/commands/wgm.txt15
1 files changed, 4 insertions, 11 deletions
diff --git a/npc/commands/wgm.txt b/npc/commands/wgm.txt
index f356305f4..e48d0ed1b 100644
--- a/npc/commands/wgm.txt
+++ b/npc/commands/wgm.txt
@@ -13,18 +13,11 @@
end;
OnCall:
- .@request$ = strtoupper(strip(.@atcmd_parameters$[0])); // sanitize
- .@map$ = "";
- .@x = 0;
- .@y = 0;
-
- if (.@map$ == "")
- {
- .@map$ = .@atcmd_parameters$[0];
- }
-
- atcommand("@request "+.@map$);
+ .@request$ = .@atcmd_parameters$[0];
+ atcommand("@request "+.@request$);
+ end;
OnInit:
bindatcmd "wgm", "@wgm::OnCall", 0, 0, 1;
+ end;
}