From d584b0430abbaeb743203fd753e457bb1034dc06 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Jun 2018 22:04:52 -0300 Subject: Maybe this fix my split problem --- npc/commands/wgm.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/commands/wgm.txt') diff --git a/npc/commands/wgm.txt b/npc/commands/wgm.txt index dbb46eca4..d24841546 100644 --- a/npc/commands/wgm.txt +++ b/npc/commands/wgm.txt @@ -13,7 +13,10 @@ end; OnCall: - .@request$ = .@atcmd_parameters$; + .@request$ = strcharinfo(0)+": "; + for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) { + .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i]; + } atcommand("@request "+.@request$); end; -- cgit v1.2.3-60-g2f50