prontera,150,180,5 script test1 1_F_MARIA,{ mes "now your #BOSSNIAPOINTS is "+ #BOSSNIAPOINTS; mes "tomorow your #BOSSNIAPOINTS will automatically become 0"; next; input #BOSSNIAPOINTS, 0, 100; close; OnClock0000: // this thing can kill your server if your server has large population query_sql "delete from `acc_reg_num` where `key` = '#BOSSNIAPOINTS';"; addrid 0; #BOSSNIAPOINTS = 0; end; } prontera,155,180,5 script test2 1_F_MARIA,{ .@today = atoi( gettime(DT_YEAR) +""+ gettime(DT_DAYOFYEAR) ); // this command only run on 1 player at a time if ( #BOSSNIATODAY != .@today ) { #BOSSNIATODAY = .@today; #BOSSNIAPOINTS = 0; } mes "now your #BOSSNIAPOINTS is "+ #BOSSNIAPOINTS; mes "tomorow your #BOSSNIAPOINTS will automatically become 0"; next; input #BOSSNIAPOINTS, 0, 100; close; }