Skorm Posted October 19, 2014 Share Posted October 19, 2014 View File guildgetitem2 & guildgetitembound2 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. Submitter Skorm Submitted 10/18/2014 Category Source Modifications Video Content Author Skorm 1 1 Quote Link to comment Share on other sites More sharing options...
xilence01 Posted November 16, 2018 Share Posted November 16, 2018 Can you update this? Thanks! Quote Link to comment Share on other sites More sharing options...
Skorm Posted May 13 Author Share Posted May 13 @xilence01 Updated! You should @ me next time. 1 1 Quote Link to comment Share on other sites More sharing options...
Account Deleted Posted May 17 Share Posted May 17 (edited) On 5/12/2023 at 10:31 PM, Skorm said: @xilence01 Updated! You should @ me next time. 1>D:\rAthena\src\custom\script.inc(3012,31): error C2440: 'initializing': unable to convert from 'std::shared_ptr<datatype>' to 'item_data *' 1> with 1> [ 1> datatype=item_data 1> ] Edited May 20 by Pokye Quote Link to comment Share on other sites More sharing options...