RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Trash Token System

Grae

Wanderer
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.

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.
 
Top