diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-01 17:19:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-01 17:19:21 -0300 |
commit | 921f100af87307c830d2736f801c6b7ed29aa4ad (patch) | |
tree | 478b12146c44d3281c80756e7fdc9c7407780be5 /npc/commands/wgm.txt | |
parent | b066c953084c6e624322db928db3b671a9478099 (diff) | |
download | serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.gz serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.bz2 serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.tar.xz serverdata-921f100af87307c830d2736f801c6b7ed29aa4ad.zip |
Introducing @k, which will broadcast to #world too
Diffstat (limited to 'npc/commands/wgm.txt')
-rw-r--r-- | npc/commands/wgm.txt | 15 |
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; } |