Jump to content
  • 0

Support NPC up GUILD


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

 

Hello community, I would like to add maximum lvl and all the skills in the guild when creating it.

thanks.

script ~~>: https://pastebin.com/D3dx2F1G

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

//******* Guild Manager by Vhan48**********
//******* Please Keep my Credits*********
//********Thank you*******************

prontera,135,195,4	script	Guild Manager	884,{
	mes "[Guild Manager]";
	if(!getcharid(2) && BaseLevel >= 99 && JobLevel >= 70) {
		mes "Hi "+ strcharinfo ( 0 ) +" I'm the guild manager, I can help you organize a guild for a fee";
		next;	
		mes "[Guild Manager]";
		mes "Do you want to avail my service?";    
		switch(select("Yes!:I'll think about it.")) {
		case 1:
			mes "[Guild Manager]";
			mes "Okay,you will need the following items:";
			next;
			mes "Caveiras (7420) x50";
			next;
			mes "[Guild Manager]";
			mes "Are you sure you to gather it all?";
			next;
			if(select("Yes","No")==1) {
				if(countitem(7420)<50) {
					mes "[Guild Manager]";
					mes "Sorry,You haven't completed the requirements yet, please come back after completing it.";
					close;
				}
			 	mes "[Guild Manager]";
				mes "Seems like , it's a piece of cake for you?";
				delitem 7420,50;    
				next;  
				mes "[Guild Manager]";
				mes "Please Enter the name of the Guild that you want to be organized:";
				next;
				input .@name$;
				next;
				mes "[Guild Manager]";
				mes "Congratulations. You have now created your own guild!.";
				close2;
				atcommand "@guild "+.@name$;
				atcommand "@guild +49";
				announce " Guild Master "+ strcharinfo ( 0 ) +" has established the "+.@name$+" Guild! Make your members proud!.",0;
				end;
			}
			break;
		case 2:
			mes "[Guild Manager]";
			mes "Ok, decide carefully"; 
			close;
		}
	} else {
		mes "Hi "+ strcharinfo ( 0 ) +" . You must not be in a guild and should be base level 99 and job level 70 to avail my services."; 
	}
	close;

}

I didn't put in the all skills since guilds get lvl 50, and if I put guildskill commands there'll be skillpoints impossible to waste (since there isn't a guildskillpointcount param as far as I know).

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