Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2022
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. guild_vs2-1,56,40,4 script Code Redeemer 878,{
  2.  
  3. set .Code$,"FINALEPOGI";
  4.  
  5. mes "[Code Redeemer]";
  6. mes "Plese enter your code to redeem rewards.";
  7. input .@code$;
  8. set #redeem,0;
  9. next;
  10. if (.@code$ == .Code$ || #redeem == 0){
  11. mes "[Code Redeemer]";
  12. mes "Code accepted, enjoy the rewards!";
  13. getitem 607,1;
  14. set #redeem,1;
  15. close;
  16. }
  17. else if( .@code$ != .Code$ ){
  18. mes "[Code Redeemer]";
  19. mes "Incorrect code!";
  20. close;
  21. }
  22. else if (#redeem == 1 || .@code$ == .Code$){
  23. mes "[Code Redeemer]";
  24. mes "You already redeemed the code!";
  25. close;
  26. }
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement