Jump to content

Question

1 answer to this question

Recommended Posts

  • 0
Posted
//******* 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).

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