Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. - script claimpoints -1,{
  2. OnInit:
  3. bindatcmd "claimpoints",strnpcinfo(3)+"::OnAtcommand";
  4. end;
  5.  
  6. OnAtcommand:
  7. if (BaseLevel < 255) {
  8. mes @header$;
  9. mes "You need to be level 255 to use this command.";
  10. close;
  11. }
  12. if( !getcharid(2) ){
  13. mes "You must have a guild to use this command.";
  14. close;
  15. }
  16. if( #claimpoints14 ){
  17. mes "[ ^0000ffclaimpoints^000000 ]";
  18. mes "Hello, " +strcharinfo(0);
  19. mes "You already took your Free Points.";
  20. mes "Sorry you can only claim once.";
  21. close;
  22. }else{
  23. #claimpoints14 = 1;
  24. //set #KOEPOINTS,#KOEPOINTS+50;
  25. set #WOEPOINTS,#WOEPOINTS+50;
  26. //dispbottom "You received 50 KoE Points, You have Total of "+#KOEPOINTS+" Points";
  27. dispbottom "You received 50 WoE Points, You have Total of "+#WOEPOINTS+" Points";
  28. }
  29. end;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement