PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Skyhawk on 27 July, 2004, 23:52:44

Title: See slots/hub... is it possible?
Post by: Skyhawk on 27 July, 2004, 23:52:44
I wonder if it is possible to make a script that can determine if/how many slots a user has opened in the hub the script is running on.

I looked the cmd's windows log of Ptokax and often saw lines that had strings like "ConnectToMe" etc in them.

Any ideas/help?

Thx in advance,
Title:
Post by: nErBoS on 27 July, 2004, 23:56:34
Hi,

You want to check how many slots a user have, use the search of the DC and will appear the number slots that the user has free and open in x/x. For check if users has free slots just search in the forum for "Free Slot Checker" or "Slot Checker".

Best regards, nErBoS
Title:
Post by: Skyhawk on 28 July, 2004, 00:04:42
no

that was not what i ment.

i was asking if a script kann determine the following:

eg.

* a user has opened 4 slots in total
* he is in 2 hubs

can a script determine how many slots are used by users from one of those hubs. Thus from all 4 slots how many slots are actually in my hub.

Understand now?
Title:
Post by: kepp on 28 July, 2004, 00:22:09
I think i know what you mean but don't think it's possible..
If you do want a rule that a user shall have 2 slots for each hub he's in, then Slot Ratio is your choise
Title:
Post by: NightLitch on 28 July, 2004, 00:22:23
Can't be done, you have a number set of slots and you have a number set of amount of hus u are in ex:

H:1/0/1,S:10

You are in 1 hub as user and one a operator you share totally 10 Slots possibly 5 for each hub.

You can not determine how many slots open for just ONE hub.

Hope this clear some.

/NL