Jump to content
  • 0
Sign in to follow this  
Domo

Mes

Question

I need a script where I can whisper a character name to an NPC then the NPC opens a dialogue box to that character.

is this possible?

 

Follow up question: I also need a script where I can whisper a character name to an NPC then the NPC kills that character.

Edited by xenophoresis

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
-	script	whisper	-1,{		OnWhisperGlobal:		.@aid = getcharid( 3,@whispervar0$ );		if ( !.@aid ) {			dispbottom "char not found.";		}		else if ( attachrid( .@aid ) ) {			mes "You have been murdered.";			close2;			unitkill .@aid;		}		end;}
npc:whisper # player_name

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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