PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Ausipeet on 15 June, 2005, 07:44:22

Title: Bot to show Public hub ussers??
Post by: Ausipeet on 15 June, 2005, 07:44:22
Is there such a Bot available as yet and if so could some one point me in the right direction please have got a hub runnning but dont want ppl  in public hubs being able to gain access, I know having the hub Private , ppl in public hubs cant gain entry but at times they still do was just wondering if such a bot was available.
Thank you
Ausipeet ?(
Title:
Post by: blackwings on 15 June, 2005, 08:13:52
QuoteOriginally posted by Ausipeet
Is there such a Bot available as yet and if so could some one point me in the right direction please have got a hub runnning but dont want ppl  in public hubs being able to gain access, I know having the hub Private , ppl in public hubs cant gain entry but at times they still do was just wondering if such a bot was available.
Thank you
Ausipeet ?(
Your post is very confusing, but I think I understand what you mean.

If you want a hub with only regged users, you can just use the "Registered users only" in ptokax under advanced
Title: thanks for the reply
Post by: Ausipeet on 15 June, 2005, 08:50:33
thanks Blackwing ,
yes i know how to turn the hub private lol , but am more intersted in knowing if a bot is available that will allow me to kick users from public hubs who gain access to a private hub,
sorry if i sounded confussing hope this clears up what i am looking for.
Ausipeet :)
Title: Re Bot to show Public hub ussers??
Post by: damo on 15 June, 2005, 08:54:17
if the hub is registered only then there is no way anyone that isnt registered can get it. also you can remove your hub from the hub list that way noone else will ever see your hub
Title:
Post by: blackwings on 15 June, 2005, 09:22:27
QuoteOriginally posted by damo
if the hub is registered only then there is no way anyone that isnt registered can get it. also you can remove your hub from the hub list that way noone else will ever see your hub
exactly. the only way to sneak into a reg only hub is  to somehow guess a regged user's password, but this can be stopped by banning a users f?r 3x bad password (in the new ptokax there is an option for this, in the old ptokax this is active by default)
Title:
Post by: Psycho_Chihuahua on 15 June, 2005, 16:18:49
i think what he means is:

he doesn't want his "Reg" Users being in public hubs...or a script that shows Users with a public hub count in their tag and boot them out
Title:
Post by: blackwings on 15 June, 2005, 16:49:42
QuoteOriginally posted by Psycho_Chihuahua
i think what he means is:

he doesn't want his "Reg" Users being in public hubs...or a script that shows Users with a public hub count in their tag and boot them out
ok then this should do what he wants = -- simple script that disconnect users that is connected to public hubs

function MyINFOArrival(user,data)
if user.iNormalHubs~=0 and not user.bOperator then
user:Disconnect()
end
end
Title:
Post by: Dessamator on 15 June, 2005, 16:51:46
QuoteOriginally posted by Psycho_Chihuahua
i think what he means is:

he doesn't want his "Reg" Users being in public hubs...or a script that shows Users with a public hub count in their tag and boot them out

ooooooh, thats clearer, so he just wants the ppl to be connected exclusively to his hub, well if thats so its simple!

i made a script that does that, it should be in the forum somewhere it would only require a few mods and voila !

P.S. There's a setting in ptokax to avoid that too,
in Rules---> Max. Hubs just set it to 1, it should work !
Title:
Post by: blackwings on 15 June, 2005, 17:10:51
QuoteOriginally posted by Dessamator
P.S. There's a setting in ptokax to avoid that too,
in Rules---> Max. Hubs just set it to 1, it should work !
but then ops cant be connected to other hubs + I think people that are ops in other hubs should be able to, therefore my little script is really good :D
Title:
Post by: Dessamator on 15 June, 2005, 17:47:53
yep its quite good, i was just mentioning an alternative method  :]
Title:
Post by: Psycho_Chihuahua on 15 June, 2005, 18:47:08
QuoteOriginally posted by Dessamator
ooooooh, thats clearer, so he just wants the ppl to be connected exclusively to his hub, well if thats so its simple!

I don't think he wants them to connect exclusively to his hub but more like they should be at least a registered user in the hubs they are. 0/x/x in hubtag gets in - 1/x/x stays out  or something of that nature

Just a wild guess  :D
Title:
Post by: blackwings on 15 June, 2005, 18:50:26
QuoteOriginally posted by Psycho_Chihuahua
I don't think he wants them to connect exclusively to his hub but more like they should be at least a registered user in the hubs they are. 0/x/x in hubtag gets in - 1/x/x stays out  or something of that nature

Just a wild guess  :D
that is what my script does, kicks users that is connected to public/normal hubs.
Title:
Post by: Dessamator on 15 June, 2005, 20:16:58
QuoteOriginally posted by Psycho_Chihuahua
QuoteOriginally posted by Dessamator
ooooooh, thats clearer, so he just wants the ppl to be connected exclusively to his hub, well if thats so its simple!

I don't think he wants them to connect exclusively to his hub but more like they should be at least a registered user in the hubs they are. 0/x/x in hubtag gets in - 1/x/x stays out  or something of that nature

Just a wild guess  :D

hmm, indeed as blackwings said his script does that :)
Title:
Post by: Bumbi on 10 September, 2005, 16:31:28
I love this script. Any way to add something ... = Your not allowed to be in a public hub when you connected to this one = in a message when they try to connect??

Bumbi
Title:
Post by: Markitos on 10 September, 2005, 16:54:04
QuoteOriginally posted by Bumbi
I love this script. Any way to add something ... = Your not allowed to be in a public hub when you connected to this one = in a message when they try to connect??

Bumbi
-- simple script that disconnect users that is connected to public hubs
Bot = "botname"
function MyINFOArrival(user,data)
if user.iNormalHubs~=0 and not user.bOperator then
user:SendData (Bot,"Your not allowed to be in a public hub when you connected to this one.")
user:Disconnect()
end
end




Try it :D
Title:
Post by: Bumbi on 10 September, 2005, 17:19:27
Thanks Markitos
Working great .... Nice to inform users about it..

Bumbi
Title:
Post by: Markitos on 12 September, 2005, 13:38:51
QuoteOriginally posted by Bumbi
Thanks Markitos
Working great .... Nice to inform users about it..

Bumbi
:D