Jump to content
  • 0
simplynice

Broadcast everytime a GM uses @monster

Question

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.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0
-	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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.