Banana Lord
Member
Now I'm really puzzled. Last night when I couldn't get the code you posted to work I restarted mafia and tried it again, with no success. Then I posted here and logged out. I haven't altered anything (in fact, the computer hasn't been touched) but this morning when I ran it, it worked perfectly.
EDIT:
You're absolutely right, but I'm a bit, well, obsessive compulsive. Besides, 90% of what I do here is aimed at simply learning how to script, that only leaves 10% for practicality.
EDIT2: Doesn't that bit of code you posted tell OCD to save only as many of a particular item as there are in my DC? What if I wanted to instruct it to save as many as I had (ie: save [$item[item name]] == -1; )?
EDIT:
This seems unnecessary however. If you are already using or plan on using Bale's excellent OCD Inventory Control script I would suggest just taking the time to set it up. New content comes out at a rate that is fairly easy to keep up with.
You're absolutely right, but I'm a bit, well, obsessive compulsive. Besides, 90% of what I do here is aimed at simply learning how to script, that only leaves 10% for practicality.
EDIT2: Doesn't that bit of code you posted tell OCD to save only as many of a particular item as there are in my DC? What if I wanted to instruct it to save as many as I had (ie: save [$item[item name]] == -1; )?
Last edited: