Jump to content
  • 0

Request: PVP NO YGG


creeps123

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

Okay here it goes.. i searched again but theres no answer to my question..

Can i request an NPC Script

PVP warper to pvp_y_1-2

Will not let you in if u carry any of the FF:

YGG BERRY

YGG SEED

YGG BOXES (or any form of YGG BOX)

and also cannot be used..

named PVP Warper No Ygg

with a Sign of how many characters are inside

Thanks!! well i got this from someone.. and maybe u can just edit this..

sorry if i cannot edit this script because i don't have any idea of how to do this :)

prontera,147,160,5 script PVP Warper No Ygg 871,{

setarray .itemlist[0], 607,14232,610,608,13517,12534,12535;
set .@name$, "[PVP Warper No YGG]";

mes .@name$;
mes ".......................";
mes ".......................";
mes ".......................";
mes ".......................";
next;
 switch(select("Izlude:Exit")) {
  case 1:
   callsub ItemCheck;
   mes "Ready?";
   close2;
   warp "izlude",0,0;
   end;
  case 2:
   mes "Have a nice day.";
   close;
  }

ItemCheck:
 for (set .@i,0; .@i < getarraysize(.itemlist); set .@i, .@i + 1) {
  if ( countitem(.itemlist[.@i]) > 0 ) {
   mes "[ultimate PvP Warper]";
   mes "Sorry! >> ^ff0000" +getitemname(.itemlist[.@i]) + "^000000 << is not allowed in PvP.";
   close;
  }
 }
return;

OnInit:
 waitingroom "PvP Warper",0;
 end;
}

Thanks for all your support!!!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Here:

[Removed Link]

Edited by Nameless2you
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2370
  • Joined:  10/28/11
  • Last Seen:  

just list all the restricted item in the

db/item_noequip.txt

then add the appropriate mapflag to the map of pvp

mapname mapflag restricted <flag>
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...