Jump to content
Skorm

guildgetitem2 & guildgetitembound2

Recommended Posts

File Name: guildgetitem2 & guildgetitembound2

File Submitter: Skorm

File Submitted: 18 Oct 2014

File Category: Source Modifications

Content Author: Various Authors


This command sends items to the guild storage without the need of server restart.

Example:

prontera,100,100,5	script	guildgetitem2	100,{
	//guildgetitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};
	switch ( guildgetitem2(1218, 1, 1, 1, 10, 4305, 0, 0, 0) ) {
		case 1: dispbottom "Item added to your guild storage."; end;
		case 0: dispbottom "Unknown Error."; break;
		case -1: dispbottom "Cannot open both storages."; break;
		case -2: dispbottom "Player doesn't have a guild."; break;
		case -3: dispbottom "Player doesn't have a guild storage."; break;
		case -4: dispbottom "Guild storage being used by someone else."; break;
		case -5: dispbottom "Guild storage is full."; break;
	}
	end;
}

Works much like getitem2 and it uses the attached players guildstorage.

 

Click here to download this file

 

If you're having problems post them here so I can fix them.

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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.