Jump to content
  • 0

Make this a Guild Quest..[HELP!]


Question

Posted (edited)
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..  /heh)..  /thx  /thx

 


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;
    }
}

Edited by Musika
codebox'd

14 answers to this question

Recommended Posts

Posted

Try this

invek,145,165,3	script	Bossnia Guard	123,{

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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
	mes .@name$;
	mes "Sorry you don't have enough zeny or you don't have the required items";
	}
if (countitem(7321) <0 || Zeny >= 100000000 ) { 
	mes .@name$; 
	mes "Sorry, I can't let you enter Bossnia if you have the required items!";
	}
else {
	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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
	mes .@name$;
	mes "Sorry you don't have enough zeny or you don't have the required items";
}
if (countitem(7321) <0 || Zeny >= 100000000 ) {
	mes .@name$; 
	mes "Sorry, I can't let you enter Bossnia if you have the required items!";
}
else {
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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
	mes .@name$;
	mes "Sorry you don't have enough zeny or you don't have the required items";
}
if (countitem(7321) <0 || Zeny >= 100000000 ) { 
	mes .@name$; 
	mes "Sorry, I can't let you enter Bossnia if you have the required items!";
} 
else {
	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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
	mes .@name$;
	mes "Sorry you don't have enough zeny or you don't have the required items";
}
if (countitem(7321) <0 || Zeny >= 100000000 ) { 
	mes .@name$; 
	mes "Sorry, I can't let you enter Bossnia if you have the required items!";
}
else {
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_04",203,203; 
	}
close; break;
	}
}
  • Upvote 1
Posted

Thank you Sir Sandbox..

It's half working../heh

The curly issues are gone now, but..

Even not sure about the new error..

Even when I have the requirements, it says I don't have them..

Maybe I'll just take a second look at the script..

Thanks a lot for the help../thx

Posted
lol i was about to answer too xD if that doesnt work try mine, however i think he is right so try frist him



invek,145,165,3 script Bossnia Guard 123,{

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";
close;
}
if (countitem(7321) <0 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry, I can't let you enter Bossnia if you have the required items!";
}
else {
mes "Ow you already have them!";
}
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_01",203,203;
close;
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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
close;
}
if (countitem(7321) <0 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry, I can't let you enter Bossnia if you have the required items!";
close;
}
else {
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_02",203,203;
close;
}
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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
close;
}
if (countitem(7321) <0 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry, I can't let you enter Bossnia if you have the required items!";
close;
}
else {
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_03",203,203;
close;
}
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;
mes "Ow you already have them!";
if (countitem(7321) <10 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry you don't have enough zeny or you don't have the required items";
close;
}
if (countitem(7321) <0 || Zeny >= 100000000 ) {
mes .@name$;
mes "Sorry, I can't let you enter Bossnia if you have the required items!";
close;
}
else {
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_04",203,203;
end;
}
}
}

Posted (edited)

You do know you don't need the second if statement on each case. You're already checking for the items in the first if statement.

 

Your zeny check is the wrong way. You have it as: If you have more than or equal to 10000000, it's going to reject you. You want it t o actually mean, if you have less than X zeny, reject user.

 

This is the correct script based off your work. This one works on my server when I was testing it.

invek,145,165,3    script    Bossnia Guard    123,{

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;
mes "Ow you already have them!";
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 {
    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;
mes "Ow you already have them!";
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 {
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;
mes "Ow you already have them!";
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 {
    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;
mes "Ow you already have them!";
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 {
delitem 7321,10;
set Zeny, Zeny-100000000;
warp "bossnia_04",203,203;
    }
close; break;
    }
}
Edited by ayre
Posted (edited)

Thanks Sir Sandbox!.. /thx

Thanks Boss Kido!.. /thx

Thanks Sir Ayre!.. /thx

 

Thank you thank you!!

 

But..

I still need a lil help.. /rice

Can you pls make this script, a Guild Quest?

I want this NPC to only allow Guilds with minimum of atleast 5 members (If it's possible.. /heh).. /thx

 

 

Here's the working script for anyone who wants to use it.. /no1

 

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;
    }
}

Thanks Sir Patskie!../thx

Edited by Musika
Code
Posted

Add before

if(BaseJob==Job_Novice || BaseLevel<254) {
getguildmember getcharid(2);
if($@guildmembercount < 5) {
mes "Your guild needs at least 5 members.";
close;
}
Posted (edited)

 

Add before

if(BaseJob==Job_Novice || BaseLevel<254) {
getguildmember getcharid(2);
if($@guildmembercount < 5) {
mes "Your guild needs at least 5 members.";
close;
}

Sir Sandbox, does this also detects if the player has a guild or not?

Thank you.. /thx

 

OW!!..

I got error../wah

"parse_line: expect command, missing function name or calling undeclared function.."

 

'g'etguildmember getcharid(2);

if($@guildmembercount < 5) {

mes "Your guild needs at least 5 members.";

close;

}

Edited by Musika
Posted (edited)

getguildmember getcharid(2), 3;

getguildmember getcharid(2), 3;
if( $@guildmembercount < 5 ) {
	mes "Your guild needs at least 5 members.";
	close;
}
Edited by Phenomena
Posted

 

getguildmember getcharid(2), 3;

getguildmember getcharid(2), 3;
if( $@guildmembercount < 5 ) {
	mes "Your guild needs at least 5 members.";
	close;
}

It gives the same error../sob

Posted
prontera,150,150,3	script	Bossnia Guard	123,{


if(BaseJob==Job_Novice || BaseLevel<10) {
mes "You're too weak for this.";
mes "I don't think you can handle this quest. Go kill more Porings.";
close;
}
getguildmember getcharid(2), 3;
if( $@guildmembercount < 5 ) {
mes "no members";
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;
    }
}

Just tested, all works!

Posted
prontera,150,150,3	script	Bossnia Guard	123,{


if(BaseJob==Job_Novice || BaseLevel<10) {
mes "You're too weak for this.";
mes "I don't think you can handle this quest. Go kill more Porings.";
close;
}
getguildmember getcharid(2), 3;
if( $@guildmembercount < 5 ) {
mes "no members";
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;
    }
}

Just tested, all works!

 

Lol, i put it before the BaseLevel check../wah

Thanks a lot Sir Phenomena!../thx

By the way, how to make it like, when all the requirements are met, then it will warp all the members on bossnia all at once?

I mean, like mapwarp?

or is it auomatic once all the requirements are met and atleast 5 guildmembers are on it, they will all be automatically warped to bossnia?

Posted

warpguild "bossnia_01",203,203,getcharid(2);

prontera,150,150,3	script	Bossnia Guard	123,{


if(BaseJob==Job_Novice || BaseLevel<10) {
mes "You're too weak for this.";
mes "I don't think you can handle this quest. Go kill more Porings.";
close;
}
getguildmember getcharid(2), 3;
if( $@guildmembercount < 1 ) {
mes "no members";
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;
	 warpguild "bossnia_01",203,203,getcharid(2);
}
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;
	warpguild "bossnia_02",203,203,getcharid(2);
}
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;
	warpguild "bossnia_03",203,203,getcharid(2);
}
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;
	warpguild "bossnia_04",203,203,getcharid(2);
}
close;break;
    }
}
Posted

I think the

 

getguildmember getcharid(2), 3;
if( $@guildmembercount < 1 ) {
mes "no members";
close;
}

 

works only for rAthena svn?

Still, it gives me the same error..

Can anyone please make this compatible for eA+3cEam svn?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...