Advertisement
johnlol

PvP Exit

Aug 7th, 2023
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VeriLog 1.19 KB | Gaming | 0 0
  1. /*
  2.  
  3. guild_vs1,50,37,4   script  EXIT    497,{
  4.  
  5. // ==============================================================
  6.  
  7. set .@n$,"^0000FF[ PvP Exit ]^000000";
  8. // ==============================================================
  9.  
  10. mes .@n$;
  11.  
  12. mes "Are you sure you want to leave ^FF0000PvP^000000?";
  13.  
  14. next;
  15.  
  16. switch(select("^008000Yes^000000!:^696969No^000000!")) {
  17.  
  18. case 1:
  19. dispbottom "Weak human!";
  20. warp "prontera",156,180;
  21.  
  22. close;
  23.  
  24. case 2:
  25.  
  26. mes .@n$;
  27.  
  28. mes "Don't be ^FF1493weak^000000!";
  29.  
  30. close;
  31.  
  32. }
  33. }
  34. guild_vs3,42,27,4   duplicate(EXIT) EXIT#PvPExit    497
  35.  
  36. */
  37.  
  38. guild_vs1,50,37,4   script  EXIT    497,{
  39.  
  40. set .@amount, countitem(7420);
  41. if (.@amount == 0) {
  42. mes "[ ^008000 ... ^000000 ]";
  43. mes "Sorry, you don't have any items to exit ^FF0000PvP^000000.";
  44. mes "To leave ^FF0000PvP^000000 you need ^0000ff1^000000 ^008000Skull^000000";
  45. close;
  46. }
  47. mes "[^008000 ... ^000000]";
  48. mes "Are you sure you want to leave ^FF0000PvP^000000?";
  49. next;
  50. switch(select("Yes:No")) {
  51. case 1:
  52. delitem 7420,1;
  53. dispbottom "Weak human!";
  54. warp "SavePoint",0,0;
  55. close;
  56.  
  57. case 2:
  58. mes "[^008000 ... ^000000]";
  59. mes "Don't be ^FF1493weak^000000!";
  60. close;
  61. }
  62. }
  63. guild_vs3,42,27,4   duplicate(EXIT) EXIT#PvPExit    497
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement