Jump to content
  • 0

Question

Posted

Hello rathena!

Im requesting a script that will check the number of your guild members and if it's over 30 members when entering a castle, you will be warped in prontera saying that "your guild members are over the limit".

Can you please include and array for certain castles like gondul and sacre altar to be restricted only for my request.

Thank you masters!

11 answers to this question

Recommended Posts

Posted


- query_sql "SELECT `connect_member` FROM `guild` WHERE `guild_id` = '" +getcharid(2)+ "'",.@c;

+ query_sql "SELECT `guild_lv` FROM `guild` WHERE `guild_id` = '" +getcharid(2)+ "'",.@c;

- if ( .@c > 30 ) {

+ if ( .@c > 11 ) {

Posted

A script that contains a sql query i understand that of course.

Your link did not exactly hit home but gave me an idea in how to make one.

I saw the source edit as well but didn't need to go that far. Planned just for an event or so.

Thanks masters for your attention and directions!

Posted

No it's not. You want it that way? My script will check if online members of your guild is > 30. In the castle or not. If so, all guild members who enters the guild_vs1 will be warped out. 

Posted

It it possible tht instead of checking whos online,

It check for the guild level instead like say it should be equal or less than guild level 11. If your guild level is above 11, you will be warp away once you get in. That way the guild was set to 30 people automatically.

The concern about your script master pat is say woe is about to end for example and a guild has been defending a castle for an hour already (30 members) then the last seconds the 31st member logs in O.O

Disaster >.< Thanks master pat!

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