Advertisement
Guest User

PvP ROom

a guest
Jan 12th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. prontera,150,187,5 script Arena 413,{
  2. switch( select( "2nd Class Arena [ "+getmapusers("pvp_y_1-2")+" Users ]",
  3. "3rd class Arena [ "+getmapusers("pvp_y_2-2")+" Users ]",
  4. "No Donation 2nd Job [ "+getmapusers("pvp_y_3-2")+" Users ]",
  5. "No Donation 3rd Job [ "+getmapusers("pvp_y_4-2")+" Users ]",
  6. "One on One [ "+getmapusers("pvp_y_5-2")+" Users ]",
  7. "Info" ) ) {
  8. Case 1:
  9. if ( Class > 4043 ){
  10. mes "You are not 2nd Class , so you cant enter.";
  11. }else{
  12. warp "pvp_y_1-2",0,0;
  13. announce ""+strcharinfo(0)+" Has Enter PvP 2nd Class Room !!",bc,0xBAB9B9;
  14. }
  15. break;
  16. Case 2:
  17. if ( Class < 4054 ){
  18. mes "You are not 3rd Class , so you cant enter.";
  19. }else{
  20. warp "pvp_y_2-2",0,0;
  21. announce ""+strcharinfo(0)+" Has Enter PvP 3rd Class Room !!",bc,0xBAB9B9;
  22. }
  23. break;
  24. Case 3:
  25. if ( Class > 4043 ){
  26. mes "You are not 2nd Job class , so you cant enter.";
  27. }else{
  28. for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 )
  29. if (countitem(.NoDonator_ids[.@i])) {
  30. mes "You can not bring God items in this pvp.";
  31. close;
  32. }
  33. warp "pvp_y_3-2",0,0;
  34. announce ""+strcharinfo(0)+" Has Enter PvP No Donation 2nd Job Room !!",bc,0xBAB9B9;
  35. }
  36. break;
  37. Case 4:
  38. if ( Class < 4054 ){
  39. mes "You are not 3rd Class , so you cant enter.";
  40. }else{
  41. for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 )
  42. if (countitem(.NoDonator_ids[.@i])) {
  43. mes "You can not bring God items in this pvp.";
  44. close;
  45. }
  46. warp "pvp_y_4-2",0,0;
  47. announce ""+strcharinfo(0)+" Has Enter PvP No Donation 3rd Class Room !!",bc,0xBAB9B9;
  48. }
  49. break;
  50. Case 5:
  51. mes "The PvP Room is free for all wants to fight each other,";
  52. break;
  53. }
  54. close;
  55. OnInit:
  56. waitingroom "PvP Warper ",0;
  57. // items not allowed in Non Donator PVP
  58. setarray .NoDonator_ids[0], 2410, 1530, 2629, 2630, 16007, 31000, 31001, 31002, 31003;
  59. end;
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement