PtokaX forum

Archive => Archived 5.1 boards => Request for scripts => Topic started by: Yahoo on 14 March, 2007, 18:34:44

Title: block registration
Post by: Yahoo on 14 March, 2007, 18:34:44
i would like to have a script which can block registration for eg
+offregistration
and if any op or vip or master who ever tries to reg after the execution of offregistartion command will get some message like
<bot> Registration has closed on account of upgradation of hub
some what like this in pm
and the registration can be start again by a command
+onregistration
the commands must be only available to masters
i think i am clear with my idea
thanks in advance
Title: Re: block registration
Post by: bastya_elvtars on 14 March, 2007, 18:51:17
If anyone decides to script this, she will ask whether registration is done by the PtokaX inbuilt commands or by a special script. So? :)
Title: Re: block registration
Post by: Thor on 14 March, 2007, 18:57:07
Yes I know, a little off, but how many female scripter is here? (she will ask...) :P
Title: Re: block registration
Post by: Yahoo on 15 March, 2007, 04:49:25
i didnt get u guys can you explain it clearly
Title: Re: block registration
Post by: Thor on 15 March, 2007, 11:04:03
What command do you use for registration? The inbuilt one (!addreguser <nick> <pass> <profile>) or a special one (like !regreg <nick> <pass>) by script?
Title: Re: block registration
Post by: Yahoo on 15 March, 2007, 12:09:09
I use the Ptokax inbuilt command i.e !addreguser <nick> <pass> <profilename>
Title: Re: block registration
Post by: speedX on 15 March, 2007, 13:12:42
Hey nice script Mutor,
Would like an addition in this script.
Is it possible to make a pending list?? It will work such tht, when registration is disabled and if any op try's to reg any user thn tht would be added to a file. Then the owner will manually read thm and clear tht file.

Plzz reply if it possible or not..
Title: Re: block registration
Post by: Yahoo on 15 March, 2007, 13:30:53
thanks for the script great work. but there is a prob in the script When i try 2 reg a user the script dont allow me to add the user in the userlist but the user is added in reglog script
for eg
** Server command: +addreguser mutor mutor reg
<bot> Sorry yahoo,  registration has been temporarily *disabled*

<bot> Reg mutor added by Master potter, log entry updated. Entries: 1042
Title: Re: block registration
Post by: Yahoo on 15 March, 2007, 13:52:28
thanks mutor it works