Jump to content

@dropall Modification & @dropalltab


Xantara

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

File Name: @dropall Modification & @dropalltab

File Submitter: Xantara

File Submitted: 02 Sep 2012

File Category: Source Modifications

Content Author: Xantara, MouseJstr

Information

The modification on @dropall allows the user to specify what item type should be dropped. It still retains the ability to drop all items at once.

The new atcommand, @dropalltab, allows the user to drop all items in a specific inventory tab. The user may choose to drop all items in all tabs (similar to the default behavior of @dropall).

Tested on rAthena revision 16738.

Syntax

@dropall {item type}

@dropalltab {tab number}

Documentation

Valid item types:

-1 = All Items (default)

0 = Healing Items

2 = Useable Items

3 = Etc Items

4 = Weapons

5 = Armors

6 = Cards

7 = Pet Eggs

8 = Pet Armors

10 = Ammunition Items

11 = Consume Delay Items

18 = Cash Useable Items

* Unknown item type input will cause nothing to drop

Valid tab numbers:

0 = All Tabs (default)

1 = Useable Item Tab

2 = Equip Item Tab

3 = Etc Item Tab

4 = Favorite Item Tab

* Unknown tab number input will produce an "invalid type" message

Credits

Created by @Xantara

Requested by @Peopleperson49

88x31.png

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Like my work?

star.pngRate/vote this download

rep_up.pngRep up my support topic post

like.png

btn_donate_SM.gif

Do not mirror without my consent.

Click here to download this file

  • Upvote 4
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Nondrop items drop?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

Nondrop items drop?

No, they don't drop - it keeps the same behavior as a normal non-modified @dropall.

  • Upvote 1
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...