Strnpcinfo - HerculesWS/Hercules GitHub Wiki
- strnpcinfo(<type></type>);
This function will return the various parts of the name of the calling NPC. Whatever it returns is determined by type.
monk_test,306,151,5 script Sealed Shrine#1::SS_1 111,{ [[mes]] '''strnpcinfo'''(0); // Sealed Shrine#1 mes strnpcinfo(1); // Sealed Shrine mes strnpcinfo(2); // 1 mes strnpcinfo(3); // SS_1 mes strnpcinfo(4); // monk_test [[close]]; }