I can't remember when or where in the forums this was mentioned, but I can't get some of the functions to work.
AIM saves buddy list information on their own servers, and I want to use that option.
I want the bot to add names to its buddy list using the function:
Code:
$aim->add_buddy($send_bool,$group,@buddies)
Mainly I want it so the bot can check if any admins are online...but that issue and code will be delt if I can get this to work.
In my admin.pl, which allows me to add/remove screennames to the admin.txt file, I added the function as follows:
Code:
$aim->add_buddy(1,"Admins",$who)
Where $who is the screenname I send the bot in my message. (And yes, Admins group exists spelled and capitalized exactly like that.) However, when I sign onto the bot's screenname (manually through AIM, not the perl program), there are no names listed in any of the groups. Any ideas?
P.S. Does anyone know why the bot's buddy list includes "perlaim"?...who or what is it? P.P.S. If I decide to use Net::OSCAR, do I have to change anything in my code other than "use Net::OSCAR"?...will I have to change all the "$aim->" functions to "$self->" or something else? _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
perlaim is (was?) the screenname of the developer of Net::AIM. If you search in the module for perlaim, you can remove it. But remember to logon as your bot and delete that user or else it will come back.
I went in to AIM.pm and Connection.pm and deleted all instances of "perlaim"...& now the bot won't turn on! _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
Funny thing is...I made a copy before I deleted all the perlaim instances. I went back into the saved copy...& put the bot's screenname in all the places where perlaim is...and it still works ... eh
EDITED:...Also when I $aim->send_config(); will it take the screennames out of their respective groups and then block them? Or will it just block them?
What I did was have the bot add the victim to a group called Block and then do an $aim->add_deny() ...when I sign onto the screenname through AIM, the victim is no longer in its group, but is in the block list (found under Privacy). _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
will the bot add the screenname to the group named "Block", and then actually block the screenname, or will it just block the screenname.
When I use that set of commands, and then sign on to the bot through AIM, there is no name in the Block group, but the screenname I asked to be blocked, does appear in the Block list (when you open preferences). _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Fri Jan 23, 2004 2:15 pm Post subject:
If its showing up as blocked then what is the problem? I don't think aim shows blocked contacts on its buddy list, so ifyou block someone they go away. _________________ Eric256
Proud previous owner and current admin of Bot-depot.com
No real problem, its just after a while, depending on the individual, I'll unblock them and want to have them on a "Watch" list, so that if they act up again they can be blocked right away. I want to try to move away from a 0-tolerance bot, and try (as Nate suggested earlier) to have a tolerance "account" for individuals/naughty words.
Also, when I block someone on my screenname, AIM keeps their name in the buddy list, but adds them to the "block list" (in Privacy settings) _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Fri Jan 23, 2004 2:27 pm Post subject:
If you want to track a user it would be better to store the info on your own machine instead of bastardizing AIM buddy lists to help. This way you can also store more info, like a records of blocks. so that say the user is just comming up for 'redemption' from being blocked but you notice that every month he floods it, gets blocked and then unblocked 2 weeks latter. Now you can see that and just leave him blocked and add him to your own, block forever list. _________________ Eric256
Proud previous owner and current admin of Bot-depot.com