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
-
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?
-
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.
$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.
-
thx it is working now :)