yuhsing

Untitled

Dec 25th, 2012
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1.  
  2.  
  3. // Request # 3
  4. // VP ROOM the use of pvp_y_room
  5. // PVP ROOM # 1 - Guild Vs Guild "The room should have a chat room saying that." Use Prontera for this
  6. // PVP ROOM # 2 - Last Man Standing"The room should have a chat room saying that." Use guild_vs2 for this
  7. // PVP ROOM # 3 - Baby PVP - Make this ONLY Baby can enter."The room should have a chat room saying that." Use Izlude for this
  8. // Please use the flags as the NPC for each one
  9.  
  10.  
  11. pvp_y_room,54,85,4 script GVG Room 973,{
  12. if( getcharid(2) ){
  13. if( select("Enter GVG","Cancel") == 1 ){
  14. warp "pvp_y_1-1",0,0;
  15. npctalk strcharinfo(0)+" has entered.";
  16. }
  17.  
  18. }else{
  19. mes "You dont have a guild.";
  20. }
  21. close;
  22.  
  23. OnInit:
  24. while( 1 ){
  25. delwaitingroom;
  26. waitingroom "["+getmapusers("pvp_y_1-1")+"] Guild vs Guild",0;
  27. sleep 1000;
  28. }
  29. end;
  30. }
  31.  
  32. pvp_y_1-1 mapflag PVP OFF
  33. pvp_y_1-1 mapflag GVG
  34.  
  35.  
  36. pvp_y_room,45,85,4 script PVP Room#1 973,{
  37. if( select("Enter Last Man Standing","Cancel") == 1 ){
  38. warp "guild_vs2",0,0;
  39. npctalk strcharinfo(0)+" has entered.";
  40. }
  41. close;
  42.  
  43. OnInit:
  44. while( 1 ){
  45. delwaitingroom;
  46. waitingroom "["+getmapusers("guild_vs2")+"] PVP Room",0;
  47. sleep 1000;
  48. }
  49. end;
  50. }
  51.  
  52.  
  53. guild_vs2 mapflag GVG OFF
  54. guild_vs2 mapflag PVP
  55.  
  56.  
  57. pvp_y_room,63,85,4 script PVP Room#2 973,{
  58. if( eaclass() & EAJL_BABY ){
  59. if( select("Enter Baby PVP","Cancel") == 1 ){
  60. warp "pvp_y_1-2",0,0;
  61. npctalk strcharinfo(0)+" has entered.";
  62. }
  63.  
  64. }else{
  65. mes "You are not baby class";
  66. }
  67. close;
  68.  
  69. OnInit:
  70. while( 1 ){
  71. delwaitingroom;
  72. waitingroom "["+getmapusers("pvp_y_1-2")+"] Baby Room",0;
  73. sleep 1000;
  74. }
  75. end;
  76. }
  77.  
  78. pvp_y_1-2 mapflag PVP
Advertisement
Add Comment
Please, Sign In to add comment