PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: smarty2890 on 24 July, 2009, 17:19:03

Title: Auto reg script
Post by: smarty2890 on 24 July, 2009, 17:19:03
Hiii guys,

I am running a public hub and the problem is many users of the hub are unreg. Can I get a script such that all unreg users are registered with a default password wen they login into the hub ?

For e.g. if an unreg user xyz logs in into the hub .. It registers him with profile reg default password say 123 and sends him the info about his registration.

I would be grateful if anyone helped me in this issue.

Thanx in advance.
Title: Re: Auto reg script
Post by: Madman on 24 July, 2009, 18:48:37
Why do they need be forced to reg?
Title: Re: Auto reg script
Post by: PPK on 24 July, 2009, 23:19:56
That is stupid idea, someone can use that as exploit and crash hub with too many new unreg users ::)
Title: Re: Auto reg script
Post by: smarty2890 on 24 July, 2009, 23:31:49
There are few scripts which are enabled for reg users only and ours is a hostel LAN there will not be more than 400 users connecting to the hub.

I just want the unreg users to get regged so that they can use all the commands of the hub.

Inspite of sending many requests to register, the number doesn't  decrease so I thought this wud be a better idea. :(  :-\

Title: Re: Auto reg script
Post by: smarty2890 on 24 July, 2009, 23:37:45
Oops sorry I got your point PPK .. I didn't think of that issue.. Is there any other way to make them avail the features.
Title: Re: Auto reg script
Post by: PPK on 25 July, 2009, 00:47:50
You can edit these scripts to not check if user is registered  8)
Title: Re: Auto reg script
Post by: smarty2890 on 25 July, 2009, 08:24:05
Thanx a lot .... Did it and the hub works fine nw. Thanx PPK  and Madman  ;D 8)