Jump to content
  • 0

how can i add


Help-Help

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   2
  • Joined:  03/16/13
  • Last Seen:  

onryun,144,137,5	script	PvP Warper	843,{
mes "[ ^ff0000PVP Warper^000000 ]";
mes "Do you want to warp to the PvP Arena and fight your enemies?";
menu "Sure, Bring it on!",L_Yes,"Nah, I'm not ready yet.",L_No;

L_Yes:
next;
mes "[ ^ff0000PVP Warper^000000 ]";
mes "Which PvP Arena do you want to enter?";
menu	"PVP Arena [ Ancient - Nightmare ] [" + getmapusers("force_4-1.gat") + " / 20]",L1,
	"PvP Arena [ Ancient - Normal ] [" + getmapusers("guild_vs3.gat") + " / 20]",L2,
	"PvP Arena [ No - Yggdrasil Berry ] [" + getmapusers("guild_vs4.gat") + " / 20]",L3;

L1:
if (getmapusers("force_4-1.gat") >= 20) goto Lsorry;
warp "force_4-1",103,104;
close;

L2:
if (getmapusers("guild_vs3.gat") >= 20) goto Lsorry;
warp "guild_vs3",0,0;
close;

L3:
if (getmapusers("guild_vs4.gat") >= 20) goto Lsorry;
if(countitem(607)) goto Lsorry2;
warp "guild_vs4",0,0;
close;

Lsorry:
next;
mes "[ ^ff0000PVP Warper^000000 ]";
mes "Sorry but this PvP Arena is full, maybe you could try another one.";
close;

Lsorry2:
next;
mes "[ ^ff0000PVP Warper^000000 ]";
mes "I'm sorry but you can't have any "+getitemname(607)+" when entering the pvp room, please storage them and try again.";
close;

L_No:
close;
}

// Mapflags
force_4-1	mapflag	pvp
guild_vs3	mapflag	pvp
guild_vs4	mapflag	pvp

 

force_4-1	mapflag	nocommand	99
force_4-1	mapflag	nosave	SavePoint
force_4-1	mapflag	noteleport
force_4-1	mapflag	nowarp
force_4-1	mapflag	nowarpto
force_4-1	mapflag	nomemo
force_4-1	mapflag	notrade
force_4-1	mapflag	noreturn
force_4-1	mapflag	nobranch

guild_vs3	mapflag	nocommand	99
guild_vs3	mapflag	nosave	SavePoint
guild_vs3	mapflag	noteleport
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	nomemo
guild_vs3	mapflag	notrade
guild_vs3	mapflag	noreturn
guild_vs3	mapflag	nobranch

guild_vs4	mapflag	nocommand	99
guild_vs4	mapflag	nosave	SavePoint
guild_vs4	mapflag	noteleport
guild_vs4	mapflag	nowarp
guild_vs4	mapflag	nowarpto
guild_vs4	mapflag	nomemo
guild_vs4	mapflag	notrade
guild_vs4	mapflag	noreturn
guild_vs4	mapflag	nobranch


-	script	Healer	-1,{
end;
OnPCKillEvent:
if(strcharinfo(3)=="guild_vs4"){
	percentheal 100,100;
	specialeffect 312;
	skilleffect 28,32767;
	sc_end SC_STONE;
	sc_end SC_FREEZE;
	sc_end SC_STUN;
	sc_end SC_SLEEP;
	sc_end SC_POISON;
	sc_end SC_CURSE;
	sc_end SC_SILENCE;
	sc_end SC_CONFUSION;
	sc_end SC_BLIND;
	sc_end SC_BLEEDING;
	sc_end SC_DPOISON;
	dispbottom "HP/SP fully restored.";
}
end;
}

 

how can i add more id in no ygg drasill room

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Try this http://pastebin.com/QfydWwrY 

 

Put your item id to be restricted in this line of code :

 

setarray .@restricted[0],607,608; // Restricted items
  • 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...