BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Derroylo on May 29, 2005, 09:11:18 pm

Title: Problem when someone leaves priv. group
Post by: Derroylo on May 29, 2005, 09:11:18 pm
I have a modul made where he needs to do something when he leaves the channel. But he do nothing when anyone leaves the private group. Tested it with another Modul(team.php). I assigned a member to team 1 and logged him after that. He is still in the team list. Seems to be a general Problem.
Any ideas what is wrong there?

One of my thought was cuz the char db from FC is down, that this one causes the prob?
Title: Problem when someone leaves priv. group
Post by: craized on May 29, 2005, 11:04:36 pm
That's the way the teams module is supposed to work. If you want a player kicked from the teams setup when they leave, type !teams mode kick. I made it do that because if someone goes LD I don't want others joining the team that should be holding their spot.


Code: [Select]
$commands["pgleave"][] = &$ClassName;

You need to put this in your code and a function for it if you want something to happen when someone leave the pgroup.
Title: Problem when someone leaves priv. group
Post by: Derroylo on May 31, 2005, 06:52:29 pm
thx it is working now :)
SimplePortal 2.3.7 © 2008-2025, SimplePortal