Author Topic: Max passive user amount  (Read 2428 times)

0 Members and 1 Guest are viewing this topic.

Offline Northwind

  • Triple Ace
  • **
  • Posts: 213
  • Karma: +10/-2
Max passive user amount
« on: 10 April, 2007, 16:05:13 »
Example

Ive got 650 users limit and i want that max of them is 200 passive
Ive got 500 users limit and i want that max of them is 100 passive

i dont neet % amount,  i just want to set limit for passive users in numbers.

When passive amount is full then bot says
 "Sorry! We have no room for another passive user, current passive limit is xxx"

Mousecommands:
- Add passive limit
- Remove passive limit
- Show passive limit / who set it
« Last Edit: 10 April, 2007, 16:16:43 by Northwind »


PtokaX forum

Max passive user amount
« on: 10 April, 2007, 16:05:13 »

Offline Northwind

  • Triple Ace
  • **
  • Posts: 213
  • Karma: +10/-2
Re: Max passive user amount
« Reply #1 on: 10 April, 2007, 20:47:52 »
Just banged this out for you, but I'm at work and unable to test is properly.
As always, comments welcome.

Working fine, thanks again Mutor... you saved my hubs bw and im more than happy for it :D

(Please do not quote the entire code block!
bastya_elvtars)
« Last Edit: 10 April, 2007, 20:58:34 by bastya_elvtars »


Offline Jusper

  • Junior Member
  • **
  • Posts: 18
  • Karma: +11/-1
Re: Max passive user amount
« Reply #2 on: 19 February, 2008, 21:17:15 »
Hey, guru Mutor, can u convert this useful script to the new API? I've tried but it gives me an error on line 27 (nil value).

PtokaX forum

Re: Max passive user amount
« Reply #2 on: 19 February, 2008, 21:17:15 »