Jump to content
  • 0

R>Guild Dungeon Warper


Question

Posted

Hi good day, can someone help me out to make this NPC based on the following:

  • Only guild castle owners can use the NPC, if your guild doesn't occupy any castle(s) you are not allowed to access the NPC.
  • If the player is on the Clan they can not use this NPC.
  • If player doesn't have guild they can not use this NPC.
Quote

prontera,146,173,4    script    Hybrid Guild Warper    4_GEFFEN_08,{
    if(!getcharid(2)) end;
    warp "job_thief10",179,27;
    end;

OnAgitStart:
OnAgitStart2:
    hideonnpc strnpcinfo(3);
    end;

OnAgitEnd:
OnAgitEnd2:
    hideoffnpc strnpcinfo(3);
    end;

OnInit:
    hideonnpc strnpcinfo(3);
    end;
  }
 

 

1 answer to this question

Recommended Posts

  • 0
Posted
21 hours ago, Questune said:

Hi good day, can someone help me out to make this NPC based on the following:

  • Only guild castle owners can use the NPC, if your guild doesn't occupy any castle(s) you are not allowed to access the NPC.
  • If the player is on the Clan they can not use this NPC.
  • If player doesn't have guild they can not use this NPC.

 

To check if player have guild

		if(!getcharid(2)) {
			mes "[Guild Checker]";
			mes "You don't belong in any Guild.";
			close;
		}

to check if player have clan

		if(!getcharid(5)) {
			mes "[Clan Checker]";
			mes "You don't belong in any Clan.";
			close;
		}

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