Search results

  1. P

    OoP's Odd Bot Functions

    Aww, thanks! :) In other news, I re-formatted it for easier reading. Oh, and Notepad++ totally kicks Notepad's ass. Uploaded the revamped version. :) Particularly proud of the custom title function, I have to say. I love it. :)
  2. P

    OoP's Odd Bot Functions

    *Headdesk* Fixed the script to use my_hash() instead, thanks for pointing that out. :) Kind of random(ish) collection of functions... xD
  3. P

    OoP's Odd Bot Functions

    OoP's Odd Bot Functions The story thus far: In the process of writing up a bot for my clan, I ended up creating a library of functions to be called up in my main script. They're not the most stunning under the sun, but they work well, and stably for their (myriad) intended tasks. After writing...
  4. P

    Trouble with a Clan Stash Multi-Item Add Function

    Thanks a ton, Veracity! Can't believe I missed that... I feel like an idiot, but I guess it's not that odd a mistake - fresh eyes and all that are wonderful! I've been thinking about that myself. For linux it's easy to grab one (just connect to the repository), but on Windows you have to know...
  5. P

    Trouble with a Clan Stash Multi-Item Add Function

    I was chewing away at my list of Clan Bot parsing/submission functions, and decided that it'd be good for me to make a function for adding multiple items to the clan stash simultaneously. So, I ran the debug log, and put together a function that (besides mercilessly ripping off zargon's kmail()...
  6. P

    Thoughts on organization of a KMail Parser

    You guys are credited in it, and honestly, all of your scripts were a great help (and inspiration) in writing it. Right now (besides editing my posts) I'm changing over to a straight and narrow, run-of-the-mill ClanBot from the absurd SPB project I had been working on. So I'll be a lot happier...
  7. P

    Thoughts on organization of a KMail Parser

    I feel stupid, but what I meant was searching like this: record cabbage { int patch; string happy; } cabbage[string] magic; magic[sally].patch = 5; magic[sally].happy = "Mooo!"; magic[betsy].patch = 78; magic[betsy].happy = "Mooo!"; Is there any way I can run a 'search' that will return...
  8. P

    Thoughts on organization of a KMail Parser

    Quick Questions: 1) Is there any way to cycle or search the "record" results of a map? What if it is a record[string]? 2) Is there a way to delete a key (and all associated results) from a map? EDIT: Oh, and thanks a ton Bale, using them has simplified my life a hundred-fold! :D
  9. P

    Thoughts on organization of a KMail Parser

    Wow, now that all makes so much more sense! Thanks! Never realized you could define maps/records like that before. Back to work now, I guess... Thanks for the suggestion of the registry script, it will be probably be a big help! :)
  10. P

    Thoughts on organization of a KMail Parser

    I looked at that originally (and just now), and couldn't help but be confused out of my mind. I suppose my (real) question would be better phrased as: I am making a kmail parser for a clan bot. I would like it to grab all 10 KMails in the inbox at once, but be a separate (library) function...
  11. P

    Thoughts on organization of a KMail Parser

    I've been working on a bot script for my clan for some time now, and I keep getting stuck on KMail parsing - not on how I can parse it, but on what would be the most optimal/efficent way to go about it. Right now, it is built with recursion, so it will parse 10 KMails at the same time (or...
Top