PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Cruzin on 16 December, 2003, 18:26:44

Title: kick on No Tag
Post by: Cruzin on 16 December, 2003, 18:26:44
Hi All,

Just wondering if there is a script around that checks users on join for a tag, and kicks them if they dont have a tag displayed?

Regards,
                 Cruzin
Title:
Post by: ??Empie?? on 16 December, 2003, 19:29:08
What a coincidence I just wrapped one up:

Check this thread (http://board.univ-angers.fr/thread.php?threadid=759&boardid=6&styleid=1&sid=e30a88793196e363d1d44b0f71f17b0d)

good luck

? Empie ?
Title:
Post by: Cruzin on 16 December, 2003, 21:00:19
Thankz ? Empie ?

Works a charm :)

Got another one for you!

Is there a way to incorperate a Slots/Hub ratio check into it?

I know this is a standard feature of Ptokax but I run a small hub and want to be able to let people connect to like H:6 S:2 or H:9 S:3 etc. Ptokax only allows you to set it to H:1 S:1 minimum

I wouldn't mind it being coded into the script something like:

if H=1 then S must be 1
if H=2 then S must be 1
if H=3 then S must be 2
etc.

It doesn't need to be a percentage of the Hub total or anything that needs a calculation ;)

Regards,

Cruzin

Title:
Post by: plop on 17 December, 2003, 02:56:38
hubs > (slots / SLOTSPERHUB)

posible my artificial insanety bot does it.
maby empie would like 2 add it 2 his script, if not i'll make a standalone script later.

plop