Jump to content
Sign in to follow this  
Like it~*

Add a new commands Guild.

Recommended Posts

Hello.

I wonder why we do not have it yet?

 

 

Quote

 

Config Updates:

  •  
  • [*]Changes 'emblem_woe_change' to 'disable_change_emblem' & added some options [*]Added 'create_guild' to enable/disable guild creation by player. [*]Added 'break_guild' to enable/disable break a guild by player. [*]Added 'disable_invite' to enable/disable guild invitation by player. [*]Added 'disable_expel' to enable/disable guild expulsion by player.

Script Command Updates

  •  
  • [*]Added 'guild_info' to retrieve specified guild information from a given guild (name or ID). The available info by type are:
    •  
    • [*]0: If guild_id used, returns "guild name" or "" if not found. If "guild name" used, returns guild_id or -1 if not found [*]1: Returns a guild level [*]2: Returns a number of connected members [*]3: Returns a number of max members [*]4: Returns a number of average member level [*]5: Returns a number of allies number. Also $@guildallies_id[] & $@guildallies_name$[] array for Ally IDs & Names [*]6: Returns a number of enemy number. Also $@guildenemies_id[] & $@guildenemies_name$[] array for Enemy IDs & Names [*]7: Returns a number of castles owned. Also $@guildcastles_id[] & $@guildcastles_name$[] array for Castle IDs & Names

    [*]Added 'guild_create' to create a new guild. (Ignore 'create_guild' config value) [*]Added 'guild_addmember' to add new member to a guild. (Ignore 'disable_invite' config value) [*]Added 'guild_delmember' to remove/kick/expel a guild member from a guild. (Ignore 'guild_expel' config value) [*]Added 'guild_changegm' to change guild master from a guild. [*]Added 'guild_break' to break a guild. Like @breakguild or /breakguild, guild must be empty first. (Ignore 'break_guild' config value)

 

https://rathena.org/board/topic/97728-guild-configs-script-commands/
rathena/rathena@4832808

 

I know we already have getguildmember, and some listed in the above pull would be useless, but we can still take advantage of many things like this:

  • 'Emblem_woe_change'
  • 'Disable_invite'
  • 'Disable_expel'
    Script Command Updates
  • 'Guild_info'
  • 'Guild_create'
  • 'Guild_addmember'
  • 'Guild_delmember'

I know AnnieRuru is no longer with us, but he approves of that and it was from the Hercules team.
Http://herc.ws/board/topic/7033-add-getguildmember-script-command/

 

Issue: https://github.com/HerculesWS/Hercules/issues/1616

Edited by Iniciando do 0

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.