Great
Btw, just in case anyone wants the 2nd type , the infinite error is caused due to many loop >100, which can be prevented by using freeloop command as shown here;.@q = 0; .@qd = 0; freeloop(1); for (.@i = 18660; .@i < 19223; ++.@i) { .@q += countitem(.@i); } freeloop(0); if (.@q < 100) { mes " "; close; } .@q = .@q/100; .@get = .@q; freeloop(1); for (.@i = 18660; .@i < 19223; ++.@i) { if (.@q <= 0) { getitem 19305, .@get; break; } .@qd += countitem(.@i); if (.@qd >= 100) { .@q -= .@qd/100; .@qd -= (.@qd/100)*100; delitem .@i, countitem(.@i)-.@qd; } if (.@q != 0) { delitem .@i, countitem(.@i); } } freeloop(0); mes "Successfully changed"; close;
OH MY ! Oh my, oh my, oh my! Dast, This NPC is gold! It works flawlessly! The NPC is perfected! Wow! I'm just.. I'm just.. I wanna jump around. Hahahahahaha . Thank you so much! Wow, hahahahaha. Amazing.