Strnpcinfo - HerculesWS/Hercules GitHub Wiki

Category:Script_Command

Table of Contents

Syntax

Description

This function will return the various parts of the name of the calling NPC. Whatever it returns is determined by type.

Type Values

Examples

 monk_test,306,151,5	script	Sealed Shrine#1::SS_1	111,{
 	[[mes]] '''strnpcinfo'''(0)&#59; // Sealed Shrine#1
 	mes strnpcinfo(1)&#59; // Sealed Shrine
 	mes strnpcinfo(2)&#59; // 1
 	mes strnpcinfo(3)&#59; // SS_1
 	mes strnpcinfo(4)&#59; // monk_test
 	[[close]]&#59;
 }
⚠️ **GitHub.com Fallback** ⚠️