viewing paste first 100 level freebies | 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 25 26 27 28 29 30 31 32 33 34
 
prontera,155,181,5  script  Sample#freebie  757,{
if( $level_freebie < .max_freebie ){
    if( #level_freebie == 0 ){
        $level_freebie++;
        BaseLevel = 99;
        JobLevel = 70;
        resetstatus;
        getitem 5210,1;
        mes "Gained Freebies.";
        #level_freebie++;
    }
    else{
        mes "You already take this before.";
    }
    delwaitingroom;
    .@available = ( .max_freebie - $level_freebie );
    if( .@available )
        waitingroom "Left : "+.@available,0;
    
}
else{
    mes "No more available freebie.";
}
close;
 
OnInit:
.max_freebie = 100;
 
.@available = ( .max_freebie - $level_freebie );
if( .@available )
    waitingroom "Left : "+.@available,0;
end;
}
Viewed 1260 times, submitted by Emistry.