Excellent Script.
I would like to know how to do something. On my shard I already have a Token System where players carry blessed Token Bags, I also have them carrying the Trash Reward Bags. What I would like to do is when they drop something into their Trash Reward Bags and instead of the tokens they are rewarded been dumped straight to their backpack, they get put directly into their Token Bag.
Any suggestions on how I would edit this to achieve what I'm after.
Thanks in advance.
I would like to know how to do something. On my shard I already have a Token System where players carry blessed Token Bags, I also have them carrying the Trash Reward Bags. What I would like to do is when they drop something into their Trash Reward Bags and instead of the tokens they are rewarded been dumped straight to their backpack, they get put directly into their Token Bag.
Code:
{
item.Delete();
from.PlaySound( 524 );
from.AddToBackpack (new Tokens(item.Amount));
from.SendMessage("Thank you for cleaning up, as a token here is your reward");
return true;
}
Any suggestions on how I would edit this to achieve what I'm after.
Thanks in advance.