summaryrefslogblamecommitdiff
path: root/npc/commands/wgm.txt
blob: f356305f422faa77e6c4cc589dfd40582acb5b65 (plain) (tree)





























                                                                       
// @wgm atcommand
// Request help
//
// group lv: 0
// group char lv: 0
// log: True
//
// usage:
//    @wgm Help
//

-	script	@wgm	32767,{
    end;

OnCall:
    .@request$ = strtoupper(strip(.@atcmd_parameters$[0])); // sanitize
    .@map$ = "";
    .@x = 0;
    .@y = 0;

    if (.@map$ == "")
    {
        .@map$ = .@atcmd_parameters$[0];
    }

    atcommand("@request "+.@map$);

OnInit:
    bindatcmd "wgm", "@wgm::OnCall", 0, 0, 1;
}