The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
help sir emistry and other's.
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Hatake Kakashi
i have error in my 2 scripts.
here's the script.
questnpc2.txt
turbo_room,117,89,4 script Quest NPC 2 911,{ // ==Change coords, Name of NPC and Sprite==
set .@npc$,"[Mixis]"; // ==Change to name of npc==
mes .@npc$; // ==You can change the dialouge if you want==
mes "Pssst!";
mes "Hey! Why are you carrying so many";
mes "items?";
mes "You mind sharing them with me?";
next;
menu "Wolf Flute",l_wbw,"No Thanks!",l_nothanks;
l_wbw:
mes .@npc$;
mes "^4EE2ECWolf Flute^000000";
mes "150 Brigan,";
mes "20 Soft Feather,";
mes "10 Gold";
next;
if(countitem(7054) <150) goto l_noitem;
if(countitem(7063) <20) goto l_noitem;
if(countitem(969) <10) goto l_noitem;
delitem 7054,150;
delitem 7063,20;;
delitem 969,200;
getitem 6124,1; // IMPORTANT: Change this to the ItemID of the item you're giving and the amount.
mes .@npc$;
mes "Congratulations! You have earned my ^4EE2ECWolf Flute^000000!";
next;
mes .@npc$;
mes "Goodbye!";
close;
l_noitem:
mes .@npc$;
mes "Please come back when you have my required items.";
close;
l_nothanks:
mes .@npc$;
mes "Alright, bye for now!";
close;
}
}
}
}
}
my PvProom
//===== eAthena Script =======================================
//= PvP
//===== By: ==================================================
//= Destinee~
//===== Description: =========================================
//= A basic PVP script.
//===== Additional Comments: =================================
//= Dont copyright this and claiming that you've made this. Use it only for your own server.
//============================================================
prontera,156,175,6 script PvP Arena 413,{
mes "[PvP Warper]";
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:
mes "[PvP Warper]";
mes "Which PvP Arena do you want to enter?";
menu "PvP Arena [" + getmapusers("pvp_y_1-2.gat") + " / 20]",L1,
"GvG Arena [" + getmapusers("guild_vs2.gat") + " / 20]",L2,
"Nightmare Mode [" + getmapusers("guild_vs4.gat") + " / 20]",L3;
L1:
if (getmapusers("pvp_y_1-2.gat") > 19) goto Lsorry;
warp "pvp_y_1-2",0,0;
announce "[ "+strcharinfo(0)+" ] is warped into PVP Arena.",0;
close;
L2:
if (getmapusers("guild_vs2.gat") > 19) goto Lsorry;
warp "guild_vs2",0,0;
announce "[ "+strcharinfo(0)+" ] is warped into GVG Arena.",0;
close;
close;
L3:
if (getmapusers("guild_vs4.gat") > 19) goto Lsorry;
warp "guild_vs4",0,0;
announce "[ "+strcharinfo(0)+" ] is warped into Nightmare Mode.",0;
close;
close;
Lsorry:
mes "[PvP Warper]";
mes "Sorry but this PvP Arena is full, maybe you could try another one.";
close;
L_No:
close;
OnInit:
waitingroom "PvP Arena",0;
sleep 1000;
}
}
hugel,93,152,3 duplicate(PvP Warper) PvP Warper#2 413
lighthalzen,154,94,3 duplicate(PvP Warper) PvP Warper#3 413
guild_vs2 mapflag noteleport
guild_vs2 mapflag nowarp
guild_vs2 mapflag noreturn
guild_vs4 mapflag noteleport
guild_vs4 mapflag nowarp
guild_vs4 mapflag noreturn
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.