I want this NPC to only allow Guilds with maxed leveled member and minimum of atleast 5 members and if the requirements are met, they all be warped in bossnia.. (If it's possible.. )..
invek,145,165,3 script Bossnia Guard 123,{
if(BaseJob==Job_Novice || BaseLevel<254) {
mes "You're too weak for this.";
mes "I don't think you can handle this quest. Go kill more Porings.";
close;
}
set .@name$,"[Bossnia Guard]";
mes .@name$;
mes "What level of Bossnia do you want to enter?";
next;
switch(select("Bossnia1:Bossnia2:Bossnia3:Bossnia4")){
case 1:
mes .@name$;
mes "Ok then,";
mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000..";
next;
if (countitem(7321) <10 || Zeny < 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
}
else {
mes .@name$;
mes "Ow you already have them!";
next;
mes .@name$;
mes "Okay then, off you go to Bossnia!!!";
next;
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_01",203,203;
}
close;break;
case 2:
mes .@name$;
mes "Ok then,";
mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000..";
next;
if (countitem(7321) <10 || Zeny < 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
}
else {
mes .@name$;
mes "Ow you already have them!";
next;
mes .@name$;
mes "Okay then, off you go to Bossnia!!!";
next;
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_02",203,203;
}
close;break;
case 3:
mes .@name$;
mes "Ok then,";
mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000..";
next;
if (countitem(7321) <10 || Zeny < 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
}
else {
mes .@name$;
mes "Ow you already have them!";
next;
mes .@name$;
mes "Okay then, off you go to Bossnia!!!";
next;
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_03",203,203;
}
close;break;
case 4:
mes .@name$;
mes "Ok then,";
mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000..";
next;
if (countitem(7321) <10 || Zeny < 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
}
else {
mes .@name$;
mes "Ow you already have them!";
next;
mes .@name$;
mes "Okay then, off you go to Bossnia!!!";
next;
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_04",203,203;
}
close;break;
}
}
Question
Musika
Edited by Musika
codebox'd
Link to comment
Share on other sites
14 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.