collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Problem when someone leaves priv. group  (Read 3653 times)

0 Members and 1 Guest are viewing this topic.

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Problem when someone leaves priv. group
« 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?
Derroylo 220/23 NT RK2

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Problem when someone leaves priv. group
« Reply #1 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.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Problem when someone leaves priv. group
« Reply #2 on: May 31, 2005, 06:52:29 pm »
thx it is working now :)
Derroylo 220/23 NT RK2

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 310
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal