Jump to content
  • 0

How to get the membercount in guild and how to verify if the member is a guildmaster


Question

Posted

Hello guys,

Im trying to make an automated system for guild package. I was just wondering if this could be done -

 

ex - 

 

if (GUILD MEMBERCOUNT < 10 && GUILD LEVEL < 49) {
               
                //CHECKING IF THE PLAYER IS GUILDMASTER OR NOT
                if ( CHAR_ID = GUILDMASTER) {
                RECALL or TELEPORT THE GUILD TO A MAP
                }
}
 
If yes, Can some give me the proper code/syntax for those things?? 
 
Thank You :)

6 answers to this question

Recommended Posts

Posted

As I mentioned earlier Im still working on Guild Pack NPC and I wanted to know one last thing. Is there anyway I can recall all the guildmembers to a specific map through npc????

 

ex - 

 

if( .@online < 10 ){

 

RECALL ALL GUILD MEMBERS TO A CERTAIN MAP

 

}

Posted

*warpguild "<map name>",<x>,<y>,<guild_id>;

 

Warps a guild to specified map and coordinate given the guild id, which you can get with

getcharid(2). You can also request another guild id given the member's name with getcharid(2,<player_name>).

You can use the following "map names" for special warping behavior:

Random:       All guild members are randomly warped in their current map (as if they

              all used a fly wing)

SavePointAll: All guild members are warped to their respective save point.

SavePoint:    All guild members are warped to the save point of the currently

              attached player (will fail if there's no player attached).

Example:

warpguild "prontera",x,y,Guild_ID;

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