Jump to content

guildgetitem2 & guildgetitembound2 v1.5


1 Screenshot

About This File

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.

Edited by Skorm


What's New in Version v1.5   See changelog

Released

Updated to work with newer rAthena and moved files to the include section.

  • Love 1
  • MVP 1

×
×
  • Create New...