Jump to content
Sign in to follow this  
IndieRO

Guild Storage

Recommended Posts

I just share my guild storage for Hercules

Spoiler
payon,130,127,3	script	Guild Storage	4_RAGFES_03,{
	mes "[Warehouse Manager]";
	mes "How are you? We are specialized in guild warehouses. This is our ^0000cdstory^000000:";
	mes "Why can't guild members share a storage? We started off with that simple question.";
	next;
	mes "[Warehouse Manager]";
	mes "You can open the warehouse for 1000 Zeny or look up the usage history of the guild.";
	mes "How can I help you?";
	next;
	if( select( "Open guild warehouse:cancel" ) == 1 ){
		if (Zeny < 1000){
			mes "[Warehouse Manager]";
			mes "I am afraid you do not have enough money to settle the fee.";
			mes "The fee is 1000 Zeny.";
			close;
		}
		if (guildopenstorage() == 0) {
			Zeny -= 1000;
			close;
		}
		else if (guildopenstorage() == 1) {
			mes "I'm sorry but another guild member is using the guild storage";
			mes "right now.  Please wait until that person is finished.";
			close;
		}
		else if (guildopenstorage() == 2) {
			mes "[Warehouse Manager]";
			mes "The guild storage is only available for guild members.";
			close;
		}
		else if (guildopenstorage() == 3) {
			mes "[Warehouse Manager]";
			mes "It seems that it is not yet possible for your guild to use the guild warehouse.";
			mes "Please come back after checking the guild skill and the permission to access the warehouse.";
			close;
		}
		else if (guildopenstorage() == 4) {
			mes "You doesnt have permission to use guild storage";
			close;
		}
		
		end;

	}else{
		end;
	}
	end;

}

 

 

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.