Regbot (Verli style)
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Regbot (Verli style)

Started by Thor, 15 December, 2006, 10:05:57

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thor

If you are tired to ask passwords from users, or you simply don't like to do it, use this script: It register the users as Verli does 8)
Commands:
!regnew <nick> [<profile>] - Use this to register a new user. If no profile given, it will be Reg. Short command: !rn
!regdelete <nick> - Use this to delete a registration of a user. You can delete registered and pre-registered users too. Short command: !rd
!reglist [<profile/all>] - Without parameter it will list those users, whoes have been pre-registered, but didn't set up their passwords. If profile specified, just those users will be shown. Else parameter is 'all', then all registered users will be shown per profile. Short command: !rl
!regpasswd <nick> [<password>] - Set up or modify the user's password. If no password given, the script will generate one. Short command: !rp
!regclass <nick> <class> - Use this to change a registered or pre-registered user's profile. Short command: !rc
!passwd [<password>] - With this command can you set up your password, if no password given, script will generate a safety one.
!genpass [<length>] - Use this command to generate a safety password. If no length given, it will be 8 character long. (min length: 4, max length: 20)
!regme [<password>] - Enable the user to register himself/herself on the hub. If no password given, he/she will be added to the pre-registered users, and can set up his/her password later.
!regenable - To enable the regme function (basely enabled)
!help - To see avaible commands for you.
!regdisable - To disable the regme function.
Finally, on enter the script shows some information to the user about himself/herself.
Script too long, so attached ;)
About:
Register bot by Hungarista
	If you don't like asking users to give password, use this script, it register the users as Verli does:
	Users will be registered, and they have to set up their passwords by a simple command. If they don't write
	password, the script generate one, and they can also use this generator. Commands are the same as in Verli:
	!regnew (!rn) <nick> <profile>
	!regdelete (!rd) <nick>
	!reglist [<profile/all>]
	!regpasswd <nick> <pass>
	!regenable
	!regdisable
	!regme <pass>
	Made for PtokaX 0.3.5.2. (LUA5.11)
	Version 1.2
	Used codes: Mutor's password-generator, Madman's table-commands
	############################################### Changelog ###############################################

	@@@ 2006. 12. 15. (v1.0) @@@
	Main script is ready

	@@@ 2006. 12. 16. (v1.1) @@@
	Added: !regpasswd command to change user's password (requested by -SkA-)
	Added: !regclass command to change registered users's profile
	Changed: Code optimization for lower memory & CPU usage, thanks the advices for NightLitch

	@@@ 2006. 12. 17. (v1.2) @@@
	Added: !help command to see what commands are avaible for this script
	Changed: !reglist command to list all registered users (or just the given profile) (requested by Alexinno)
	Changed: Many part cleaned up and became easier than before
	Changed: Table-commands return values (help need't to be discard)

	##########################################################################################################

-SkA-

Nice script and it works prefectly   ;D

Now I'll wait for the !regpasswd <nick> <password>  command  ;)
???:::??x??em?-N????:::??? ?wN??

BrianzaLand Blog" style="border:0

Alexinno

#2
 :-*
thx Hungarista , nice work

everything works perffect just the !reglist command show's me [15:32:35] <???Five> The list is empty.
any ideea why ?

Thor

New version is avaible for use, changes:
Added: !regpasswd command to change user's password
Added: !regclass command to change registered users's profile
The code has been optimized a bit too, and unused parts have been removed. Bugreports, feature-requests are always welcomed.

Alexinno

Quote from: Hungarista on 15 December, 2006, 10:05:57
!reglist - Use this to list those users, whoes have been pre-registered, but didn't set up their passwords. Short command: !rl

can you make this command to show all the registred users and their profile?

Alexinno

Quote from: Alexinno on 16 December, 2006, 14:45:59
can you make this command to show all the registred users and their profile?

doesn't need it , i found what i was looking for  here

Thor

I am working now, so I am ready with it just now. But I did it, please use then ;D First post updated.

Alexinno

Quote from: Hungarista on 17 December, 2006, 17:19:02
I am working now, so I am ready with it just now. But I did it, please use then ;D First post updated.

works perfect ;)
thx

Alexinno

Hungarista i have one more request , can you do something that only OP's can see the script help?
pls :)

Thor

#9
Yes, and sorry about this stupid mistake ;D

Alexinno


[OnLy]-PiTiCu

Hello. Pls convert this script for the NewApi for Ptokax 0.4.1.0

Thx
[OnLy]-PiTiCu

bastya_elvtars

[quote author=[OnLy]-PiTiCu link=topic=6647.msg74022#msg74022 date=1212835783]
Hello. Pls convert this script for the NewApi for Ptokax 0.4.1.0

Thx
[/quote]

Make a conversion request in the appropriate board, please.
Everything could have been anything else and it would have just as much meaning.

Thor

That's not necessary, I tried it, it seems ok. You can find it here

SMF spam blocked by CleanTalk