self regger
 

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

self regger

Started by UwV, 27 February, 2005, 22:18:28

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

UwV

i was thinking
just a simple selfreg script ..

"!regme "

so users can regthemselves..
(with in profiles.dat  "4|Selfreg|32x0" )

.. please ?
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

bastya_elvtars

QuoteOriginally posted by UwV
i was thinking
just a simple selfreg script ..

"!regme "

so users can regthemselves..
(with in profiles.dat  "4|Selfreg|32x0" )

.. please ?

I bet you can make this script. Ask and I am going to help.
Everything could have been anything else and it would have just as much meaning.

Pothead

#2
--## Self Register 1.0
--## Secure Pass and Nick (thanks to RabidWombat) 
--## Made by nErBoS
--## Updated to Lua 5 by Pothead
--## Commands;
--##	!regme - Register the user who uses the command

sBot = "Reg-Bot"

function ChatArrival(user, data)
	if (string.sub(data,1,1) == "<" or string.sub(data,1,5+strlen(sBot)) == "$To: "..sBot) then
		data = string.sub(data,1,string.len(data)-1)
		s,e,cmd = string.find(data, "%b<>%s+(%S+)")
		if (cmd == "!regme") then
			local s,e,pass = string.find(data, "%b<>%s+%S+%s+(%S+)")
			if (pass == nil) then
				user:SendData(sBot, "Syntax Error, !regme , you must write a password.")
			elseif (string.find(pass, "[%c|\n\r]")) then
				user:SendData(sBot, "Invalid Password. Try Again.")
			elseif (string.find(user.sName, "[%c|\n\r]")) then 
				user:SendData(sBot, "Your nick is invalid. Please choose a new one.")
			else
				AddRegUser(user.sName, pass, 3)
				SendToOps(sBot, "The user "..user.sName.." has registered himself.")
				user:SendData(sBot, "You have been successufly registered with the pass: "..pass)
				user:SendData(sBot, "Please reconnect and type your password.")
			end
			return 1
		end
	end
end

If you want them to reg to profile Level 4, just change sommit in here ;)
(user.sName, pass, 3)

UwV

thanks .. Pothead

and BE also thanks for offering to help me do it  myself :0)
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

Loading

#4
hello ppl
 can you make this script to make a pm to user after
register an also to Netfounder and Master and to send a message in mainchat to


like this:  ( Netfounder and Master  ) in pm

               
                  The User ( User Nick )
                  With the IP: ( IP )
                  With this Share: ( Share )
                  With this Connection: ( Connection )
                  With this Mode: ( Mode )
                  With this E-Mail: ( E-Mail )
                  With this Client: ( Client )
                 
                  Registered Imself
                  With the Pass: ( Pass )



( for the user ) in pm

               
                  You are Now Registered
                  With the Nick: ( User Nick )
                  With the pass: ( pass )
                  Your IP: ( IP )
                  Your Share: ( Share )
                  Your Connection: ( Connection )
                  Your Mode: ( Mode )
                  Your E-Mail: ( E-Mail )
                  Your Client: ( Client )
                 
( In MainChat )


 (\ ,_____,-/)
           _.-'-.( d\_/b ).-'-._
         /'.-'   ' .---. '   '-. \         The User ( User Nick ) Registered Imself
       /'  .' (=    (_)    =) '. \    
      /'  .',   -.__.-.__.-'  ,'. \          WELCOME TO BOP2BOP
     (     .'.   V       V  ; '.     )
    (      ::  -,__.-.__,-'  ::     )
   }     /  :.               .:' \     {
   }    /  :.                 :'  \    {
    }  (  (  :.              .: )  )   {
    (  (   (  :.             :' )   )  )
    (   (   \ :.           .: /   )   )
    (   (    \ :.         .:'/    )   )
     ) (       \ :.     .:'/'      ) (
     (   )_     )  :._.:' (     _(   )
     \  ' _)  .'            .  (_    /
      \  '_) /   .''   ''.   \ (_   /
        ''    \  (         )  /     ''
    ___      '.'.       .'.'     ___
  .      ''''''-- _)     (_'--''''''  
(_(_(___...--'''      '''--...___)_)_)
                             


It's possible to make this " litle" Modification ?

best regards

Loading

Dessamator

a script like that probably already exists, search, if u cant find it, maybe then somebody will make it .
Ignorance is Bliss.

Loading

hi

i can't find a script like that in this forum

cam somebody makeme one like this ?


best regards
loading

Loading

hello ppl
can anyone help me with this script ?

please....


best regards



Loading

Loading

Please

i can't find the script   :(

Please Help me

Loading

hello ppl

tanks man for the script

but the command don't do anything
 don't work  
 :(

best regards

Loading

Loading

hello ppl

i run the command !regme and do anything i turned off the self reg of my roboccop and restart the hub and the scripts and  the command don't do nothing no message in mainchat no message for the users and ops nothing at all

the command don't show in mainchat and the user is not registered

it is the problem

i'm running Ptokax 0.3.3.0.b17.04.nt.dbg and robocop v10.01e

best regards

Loading

Loading

hello ppl

i run the command !regme and do anything i turned off the self reg of my roboccop and restart the hub and the scripts and  the command don't do nothing no message in mainchat no message for the users and ops nothing at all
and is no error in the script , the script in ptokax don't stop because is no error in them

the command don't show in mainchat and the user is not registered

it is the problem

i'm running Ptokax 0.3.3.0.b17.04.nt.dbg and robocop v10.01e

best regards

Loading

Loading

ok man
 thanks for your time

i will wait

tanks very mutch man

best regards

Loading

Loading

#13
hi were i can find it ? ( the tread )

i can't find it  :(

regards

Loading

thanks man for the link

best regards

Loading

badtrip

hello mutor,


can you added de TAG comand to the regme script
and clean the cat from the script

im have this one , but this script have a error , this one dont send the msg --> this nick it?s register try another one.

i have this one
--## Self Register 1.0
--## Secure Pass and Nick (thanks to RabidWombat) 
--## Made by nErBoS
--## Updated to Lua 5 by Pothead
--## Commands;
--## !regme - Register the user who uses the command
--## TAG MSN BY ??????Hawk??????
--## tradu??o by Badtrip to portugues

sBot = "Reg-Bot"
sTag = "[pt]"
function ChatArrival(user, data)
		data = string.sub(data,1,string.len(data)-1)
		s,e,cmd = string.find(data, "%b<>%s+(%S+)")
		if (cmd == "!regme") then
			local s,e,pass = string.find(data, "%b<>%s+%S+%s+(%S+)")
			if (pass == nil) then
				user:SendData(sBot, "???? ERRO NO COMANDO PORQUE:, !regme , Tens que colocar uma password ????.")
			elseif (string.find(pass, "[%c|\n\r]")) then
				user:SendData(sBot, "???? Password invalida. Tenta de novo.????")
			elseif (string.find(user.sName, "[%c|\n\r]")) then 
				user:SendData(sBot, "???? Nick invalido . Por favor escolhe outro nick.????")
			else
				AddRegUser(sTag..user.sName, pass, 3)
				SendToOps(sBot, "???? O User "..user.sName.." Registou-se e agora ? um user registado ????.")
				user:SendData(sBot, "???? Foste Registado com a password: ????"..pass )
				user:SendData(sBot, "???? Por favor coloca a tag "..sTag.." ? frente do nick ? [PT]nick ? e reconecta usando a tua password.????")
			
                               
			end
			return 1
		end
end

best regards

SMF spam blocked by CleanTalk