Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

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