viewing paste Unknown #52074 | Aegis

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 35 36 37 38 39
prontera.gat,146,171,6 script Gigler 402,{
if( .Duration > gettimetick(2) ){
    mes "The 2X Rate is Running right now.";
    close;
}
mes "Welcome :";
mes "Would you like to contribute for double drop rate and experience?";
mes "I need [Zeny] to modify the rates and share it to all players here.";
next;
mes "Total Zeny Gained :";
mes "^FF0000"+.TotalZeny+"^000000 Zeny.";
mes "Need "+.TargetZeny+" Zeny. To Activate the modified rates, would you like to share?";
next;
if( select("Donate Zeny:Cancel") == 1 ){
mes "How many will be Donated ?";
input .@Amount,0,Zeny;
mes "Done,.. you have Donated "+.@Amount+" Zeny.";
set Zeny,Zeny - .@Amount;
set .TotalZeny,.TotalZeny + .@Amount;
if( .TotalZeny >= .TargetZeny ){
    set .TotalZeny,0;
    set .Duration,gettimetick(2) + ( 24 * 60 );
    announce "Rates already modified..[x2] drop rate[x2] exp. rate. for 1 day, Please Re-Log to enjoy the double rates.",0;
}
}
close;
 
OnInit:
set .TargetZeny,50000000;
set .Rate,2;
end;
 
OnPCLoginEvent:
if( .Duration > gettimetick(2) ){
sc_start SC_EXPBOOST,(( .Duration - gettimetick(2) ) * 60000 ),( .Rate * 100 );
sc_start SC_ITEMBOOST,(( .Duration - gettimetick(2) ) * 60000 ),( .Rate * 100 );
}
end;
}
Viewed 431 times, submitted by Guest.