PtokaX forum

PtokaX => Support => Topic started by: The_Extractor on 28 June, 2005, 21:47:04

Title: dummy question: redirect at max share
Post by: The_Extractor on 28 June, 2005, 21:47:04
Hello,

Maybe a very stupid question....but we cannot find out how to....

This is the situation....
 How to arrange that someone with more  than a certain amount of share will be redirected to another hub in network?

We had no luck so far trying..

Thanks in advance for your highly appreciated answers :)
Title:
Post by: Madman on 29 June, 2005, 01:28:36
By script...

-- Maxshare redirecter
-- Made by Madman

MaxShare = 144 -- Max share in GB

function NewUserConnected(curUser)
if curUser.iShareSize > MaxShare*1024*1024*1024 then
curUser:Redirect(frmHub:GetRedirectAddress(), "You got to high share for this hub")
end
end