- script mobzeny -1,{ OnNPCKillEvent: // Get zeny if monster killed is listed for (.@i = 0; .@i < getarraysize(.monster); .@i++) { if(killedrid == .monster[.@i]) { .@mobzeny = rand(.min, .max); Zeny += .@mobzeny; message strcharinfo(0), "You received "+ .@mobzeny +" for killing "+ getmonsterinfo(.monster[.@i], 0) +"!"; } } end; OnWhisperGlobal: // Whisper anything to initialize settings message strcharinfo(0), strnpcinfo(1) +" : 'OnInit' label has been intialized."; OnInit: // List of monster IDs setarray .monster[0], 1001, 1002 , 1004, 1005; // Set zeny range .min = 1; // Minimum .max = 100; // Maximum end; }