1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - script LoginStatCheck FAKE_NPC,{ OnPCLoginEvent: .@a = (readparam(bStr) + readparam(bAgi) + readparam(bVit) + readparam(bInt) + readparam(bDex) + readparam(bLuk) ); dispbottom "debugmes: total of your stats "+.@a+""; // pa remove after test. if(.@a > 210) { sleep2 1000; message strcharinfo(0),"Your stats is not possible, Your stats will be reset!"; resetstatus; } end; } |