viewing paste Unknown #21108 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
OnTimer60000:
set @minute, @minute + 1;
//Check for 1 Minute
if(@minute == 60){
        set @minute,0;
        set .@point_amt, 5; //Points to get every hour (default: 5)
        set #CASHPOINTS, #CASHPOINTS + .@point_amt;
        dispbottom "You received "+.@point_amt+" Cash Points by staying ingame for 1 hour";
        dispbottom "Current Balance = "+#CASHPOINTS+" Cash Points";
        set @consecutive_hour, @consecutive_hour + 1;
        }
//Check for 12 hours consecutive
                if(@consecutive_hour == 12) {
                set @consecutive_hour,0;
                set .@cpoint_amt, 50;   //Points to get for 12 Consecutive hours (default: 50)
                set #CASHPOINTS, #CASHPOINTS + .@cpoint_amt;
                dispbottom "You receive "+.@cpoint_amt+" Cash Points in playing for 12 consecutive hours";
                dispbottom "Current Balance = "+#CASHPOINTS+" Cash Points";
                }
        stopnpctimer;
        initnpctimer;
        end;
 
}
Viewed 625 times, submitted by Azeroth.