Mes

Domo

New member
Messages
28
Points
0
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.

 
Last edited by a moderator:
Code:
-	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;}
Code:
npc:whisper # player_name
 
Last edited by a moderator:
Back
Top