Worgzark Beginner
Joined: 03 Jul 2008 Posts: 10
|
Posted: Thu Jul 10, 2008 6:49 am
Simple Inventory Clearing Tool. |
This could probably be adapted for any mud but was created for use in Dark and Shattered Lands. I used this to sell the great piles of pointless spam items that cloged up my inventory due to autoloot. First item on the list was a list, created and maintained through the following menu:
#MENU sale {#ADDITEM sale %selword}
Allowing me to right click keywords I want to add to the list called sale.
I then created a class called Forsale:
#CLASS Forsale 1
In which I put the following triggers.
#TRIG {%s*%s(%w)} {#IF (%ismember(%1,@sale)) {sell %1} {}}
#TRIG {~(%s(%d)~)*%s(%w)} {#IF (%ismember(%2,@sale)) {#REPEAT %1-1 {sell %2}} {}}
#TRIG {The %w looks uninterested in*%s(%w)} {drop %1}
I then used an alias to access this class as required:
#AL Sale {#T+ Forsale;I;#WAIT 2000;#T- Forsale}
Anything you wish to keep you just put into a container. |
|