Jump to content
  • 0

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


Nevermore

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  10/12/13
  • Last Seen:  

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 :)
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/05/13
  • Last Seen:  

that looks great!

and nice concept

Edited by SanTy
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  10/12/13
  • Last Seen:  

thanks alot sir :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  10/12/13
  • Last Seen:  

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

 

}

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  10/12/13
  • Last Seen:  

thanks alot sir :D

Link to comment
Share on other sites

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.

×
×
  • Create New...