Jump to content
  • 0

Guild Package Script


Syndicate-Jhay

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

Guild Package*

 

This Guild Package is per account, must be consist of 10 Players and must be Level 50 Guild..

 

Thanks in Advance :)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

this with guild level

prontera,154,95,4	script	test	50,{
query_sql "SELECT `guild_lv` FROM `guild` WHERE `guild_id`="+getcharid(2)+"",@glvl;
	if(@glvl == 50 ){
		if( !#GuildPackage3 ){
			set #GuildPackage3,1;
			getitem 512,10;
			}else{
			mes "You can't get it twice!";
			}
		close;
	}else{
	mes"your guild level too low";
	close;
	}
}

getitem item,amount;

getitem item,amount;

getitem item,amount;

getitem item,amount;

 

 

you can do this script with any and more then one from the guild sql

name
char_id
master
guild_lv
connect_member
max_member
average_lv
exp
next_exp
skill_point
mes1
mes2
emblem_len
emblem_id
emblem_data

just edit this like the Example on connect_member

 

query_sql "SELECT `guild_lv`,`connect_member` FROM `guild` WHERE `guild_id`="+getcharid(2)+"",@glvl,@cmember;

and edit the if 

if(@glvl == 50 || @cmember == 10 )

i hope i helped you 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

Thank you :)


Sir how about, If I want the 10 Members are Max Level 255? how will I do it?

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

average_lv on the guild sql

the average_lv is the Average level of the guild members

you can control that

like if there 10 members 5 = 250 and 5 = 200 the Average will be 225

i don't if there is another way to set it 

and i don't think there is way to set the guild members number

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