Jump to content

guildgetitem2 & guildgetitembound2 v1.4


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.


What's New in Version v1.1   See changelog

Released

  • Modified patch file.
 Share


×
×
  • Create New...

Important Information

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