Yes I am making a craftbot! And better yet, it's working! :cool:
The code is probably the sloppiest and most thrown-together you've ever seen, though. :(
Perfect! That's exactly what I was looking for! thanks. My next question is how to go about comparing the returned map to a different map. would I need to use foreach for this?
I want to know if there is a function that will return the items needed to craft a third item. If it's not built into mafia, is there a library that includes such a function? Would the only way to get this result be to create a massive array for every craftable item in the game? Is there even a...
I've already got the Items parsed, I want to parse for the body text (In the case of the example, "test123")
I've updated the script abit, but I'm returning the error:
Here's the code:
Now, I'm warning you: I'm not that great at strings. Which is why I'm asking for help. =P
Hmm... I think that idea will do for now.
I dug up an old script off these forums that's a modified version of the registry script. http://kolmafia.us/attachment.php?attachmentid=1862&d=1250559988
So I ran it, and it gave me these results:
Any way, This will give me values for the items, but...
Howdy, World!
Now then, I've had a long-time interest in a clanbot for my clan, but for the longest time was absolutely clueless. I've tried several mediums... including Pearl and Python, but none of those quite worked.
So here I am, at mafia.
Now, I have a few goals for my bot.
-Chefbot...