In one mud I play there's a bank of sorts where you can store items. You can only view the items in the bank when you're at the bank, which while realistic is inconvenient.
I want to effectively 'save' everything and then make an alias to reproduce what was 'saved' in my output, and each time I look at my bank inventory, I'll delete/save over my old values so it's always current as of the last time I checked my bank.
Can I get a step by step way of how to do this, as if I have no programming/scripting experience please?
Below is a sample of the output I want to save/be able to re-print later.
--
> There are n items stored in this vault:
Item one.
Item two.
Item three.
The current weight in the vault is: n
The maximum amount this vault can hold is: n in weight.
--
I was thinking of putting * wherever there is an 'n' and using %1, %2, etc. to save those, but how would I deal with the 'items', especially since there could be no items or up to dozens of different items?
I hope someone can help, and again, if you could tell me how to do this as if I have no knowledge, that would be best. I'm really a fairly basic user of scripting.
I want to effectively 'save' everything and then make an alias to reproduce what was 'saved' in my output, and each time I look at my bank inventory, I'll delete/save over my old values so it's always current as of the last time I checked my bank.
Can I get a step by step way of how to do this, as if I have no programming/scripting experience please?
Below is a sample of the output I want to save/be able to re-print later.
--
> There are n items stored in this vault:
Item one.
Item two.
Item three.
The current weight in the vault is: n
The maximum amount this vault can hold is: n in weight.
--
I was thinking of putting * wherever there is an 'n' and using %1, %2, etc. to save those, but how would I deal with the 'items', especially since there could be no items or up to dozens of different items?
I hope someone can help, and again, if you could tell me how to do this as if I have no knowledge, that would be best. I'm really a fairly basic user of scripting.