Broadcast everytime a GM uses @monster

simplynice

New member
Messages
52
Points
0
Good day, i don't know if this belongs here or source. Everytime a game master uses @monster or any @commands it will announce ingame that the person uses the @monster command.

 
My personal opinion is that source editing it is better because the source edit can go through full names, partial names and also for IDs.

If you don't want that, you could always bind the atcommands with the bindatcmd script command. It can check for full mob names and/or IDs.

 
- script Anti_Corrupt -1,{OnInit: bindatcmd "monster",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: if (getmapxy(@mapname$,@mapx,@mapy,1,"+strcharinfo(0)+")!=0) goto Notfound; announce "[ "+strcharinfo(0)+" ] spawned a monster on "+@mapname$+" at X:"+@mapx+" Y:"+@mapy+" !",0; end; Notfound: mes "I can't seem to find the person anywhere!"; end;unbindatcmd "monster";} 
This is what i got so far. Is there anyway i can get the monster id? Will this work using bindatcmd.

 
Back
Top