Jump to content
  • 0

Guild Recall NPC Pls any Help Fast


Question

14 answers to this question

Recommended Posts

Posted

This?

prontera,150,150,5	script	ihjbnik	56,{
	.@guild_id = getcharid(2);
	if ( !.@guild_id ) {
		mes "you are not in a guild";
		close;
	}
	else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {
		mes "I only talk to the guild master";
		close;
	}
	mes "warp?";
	next;
	if ( select( "yes", "no" ) -1 ) end;
	warpguild "prontera",161,181,.@guild_id;
	end;
}
Posted
-	.@guild_id = getcharid(2);

-   :   means 'delete the line'

 

+	set .@guild_id, getcharid(2);

+   :   means 'add the line'

 

prontera,150,150,5	script	ihjbnik	56,{
	.@guild_id = getcharid(2);// <---- REPLACE HERE
	if ( !.@guild_id ) {

 

Like that

prontera,150,150,5	script	ihjbnik	56,{
	set .@guild_id, getcharid(2);
	if ( !.@guild_id ) {
		mes "you are not in a guild";
		close;
	}
	else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {
		mes "I only talk to the guild master";
		close;
	}
	mes "warp?";
	next;
	if ( select( "yes", "no" ) -1 ) end;
	warpguild "prontera",161,181,.@guild_id;
	end;
}

 

it's hard to help you

  • Upvote 2
Posted


prontera,150,150,5 script ihjbnik 56,{

set .@guild_id, getcharid(2);

if ( !.@guild_id ) {

mes "you are not in a guild";

close;

}

else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {

mes "I only talk to the guild master";

close;

}

mes "warp?";

next;

if ( select( "yes", "no" ) -1 ) end;

warpguild "prontera",161,181,.@guild_id;

.click++;

if ( .click%2 ) end;

disablenpc strnpcinfo(3);

enablenpc "your npc";

}

Posted


prontera,150,150,5 script Fokker 56,{

set .@guild_id, getcharid(2);

if ( !.@guild_id ) {

mes "You are not in a guild";

close;

}

else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {

mes "I only talk to the guild master";

close;

}

mes "Recall your guild now?";

next;

if ( select( "Yes", "No" ) -1 ) end;

warpguild "prontera",150,151,.@guild_id;

set .click, .click +1;

if ( .click % 2 ) end;

disablenpc strnpcinfo(3);

enablenpc "your npc";

}

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...