Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amatsu,203,203,4 script BuffMan#4 405,{
- mes "[BuffMan]";
- mes "Would you like some buffs?";
- next;
- switch(select("Yes:No")){
- case 1:
- //1800000
- if(getnpctimer(0) >= 5000){
- atcommand "@useskill 34 50 " +strcharinfo(0);
- mes "[BuffMan]";
- mes "Enjoy your buffs!";
- detachnpctimer;
- close;
- } else {
- if(getnpctimer(0) > 0){
- set var,getnpctimer(0)/1000;
- mes "[BuffMan]";
- mes "It's too early for you to get more buffs!";
- mes "Please wait: " +var;
- close;
- } else {
- atcommand "@useskill 34 50 " +strcharinfo(0);
- mes "[BuffMan]";
- mes "Enjoy your buffs!";
- attachnpctimer;
- initnpctimer;
- close;
- }
- }
- break;
- case 2:
- mes "[BuffMan]";
- mes "Oh well maybe next time!";
- close;
- break;
- }
- }
Add Comment
Please, Sign In to add comment