Posted: Mon Jun 20, 2005 10:36 pm Post subject: Different Personalities?
Hello everyone, I'm a little new here so if this has been covered somewhere I just haven't seen yet, I hope you'll forgive me. I've been trying to figure out a way to make a bot that will behave in different ways for different sn's. Kind of like getting a bot to recognize more than one sn as an admin, but instead of giving access to more commands making it say different things to them. I've been looking into it for wiredbots code (which I've been hearing is terrible, but I'm rather new at this so a lot of the other codes I've seen are just over my head) and while I'm sure it's possible, I'm not sure how to go about it.
Well, I'd love to hear a few ideas/helpful hints, or if anyone knows of another bot code that's good for beginners where I might have more luck, I'd be very grateful.
I'll try that out, but I haven't used $hash before so I'm not sure how much luck I'll have.
To clarify a little, the bot is set up now to respond to any user with one of a number of random quotes from a subroutine called "thought" (so $reply = thought(); ). I was thinking set it up so with certain sn's it would call up a different "thought" process, like how the bot knows if a certain sn is someone who has warned it, but I would enter all the names and create the routine ahead of time instead of having it add them based on things they do.
Well, thanks for the suggestion, I think we're about on the same page here.