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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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