viewing paste Unknown #22138 | C

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// Currently scripts all use this method:
mes "[NPC Name]";
mes "hi there,";
mes "what's up?";
next;
 
// Currently, scripts that have/need a dynamic name for multiple NPC's do this:
mes "["+strnpcinfo(1)+"]";
mes "hi there,";
mes "what's up?";
next;
 
// Currently, you can streamline this a bit by only calling mes once:
mes "["+strnpcinfo(1)+"]",
    "hi there,",
    "what's up?";
next;
 
// If a new function was created which prefixed all messages with the NPCs name, it could be further streamlined to:
npcmes "hi there,",
       "what's up?";
next;
Viewed 1093 times, submitted by Ancyker.