User Control Panel
Advertisements

HELP US, HELP YOU!

Different Personalities?

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Ideas
View unanswered posts
Author Message
MRsmilesguy
Newbie
Newbie


Joined: 20 Jun 2005
Posts: 3

Reputation: 10.8

PostPosted: Mon Jun 20, 2005 10:36 pm    Post subject: Different Personalities? Reply with quote

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.
Back to top
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Tue Jun 21, 2005 1:02 am    Post subject: Reply with quote

You could do something like...

Code:

if($username eq $hash->{$username}->{person}){
# Load brain and stuff the bot has learned about the user.
}


Smile

I think that's what your talking about... I could be wrong...
Back to top
MRsmilesguy
Newbie
Newbie


Joined: 20 Jun 2005
Posts: 3

Reputation: 10.8

PostPosted: Tue Jun 21, 2005 6:04 am    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Ideas All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group