summaryrefslogblamecommitdiff
path: root/npc/commands/wgm.txt
blob: d248415464c79fd5fa5d081ad9444b7ac177478e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                               



                                                                              

                                      


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

-	script	@wgm	32767,{
    end;

OnCall:
    .@request$ = strcharinfo(0)+": ";
	for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
		.@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
	}
    atcommand("@request "+.@request$);
    end;

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