Forums


SassIRC :: Forums :: mIRC Scripting :: mIRC Scripting Help
 
<< Previous thread | Next thread >>
Registering on QuakeNet
Moderators: PuNkTuReD, Aucun, Hamtara, cheiron, sk68, Nuk3d, Dejavue, XperTeeZ
Author Post
Lenooox
Fri Jan 29 2010, 02:38PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
I need help for this script, if possible , I would like a script , which can creat an account in Q-bot
Register
Change password
Change mail
Request password
Auth

I tried to look for help in Tutorials and forums , but nothing :/
Thank you for help !

Regard's

on *:TEXT:!Register:#: { if ($2) { msg Q Hello $2 $2 | notice $nick You have registered with email $2 $+ ! } else notice $nick You have not supplied your email }


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Sat Jan 30 2010, 07:41AM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
if you use your bot to request a auth,
wouldn't the auth then belong to the bot and not the user applying for the auth?

this topic seems very suspect.
are you just trying to collect peoples auth info?

if you can not explain a bit better or show that this is not
to collect other users info, this topic will be closed.


[ Edited Sat Jan 30 2010, 07:41AM ]

//server -m irc.sassirc.com -j #SassIRC.com
Back to top
Lenooox
Sat Jan 30 2010, 01:44PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
I do not want watch the users data, but if somebody types reg mailaddress to my bot, it sends toward to q bot and he gets his auth in email that way.
but i wanna use this script only in my bot and in our channels.
unfortunately there are a lot of dumb people in our channesl and they can't register themselves on quakenet! I would like to makes this thing easier,
I want to use the + q (only known users)option in our clan channels.
There are people who do not speak a foreign language in our channels ; only Hungarian
I have no time to register everyone , im authed everyone , who now come up to our channel, and we have an clan admin channel , only for our useres they can use that channel for registering also.
and I assure you, no I do not want to see and do not care about other human data, can not be make up of a system which does not record the data? and immediately delivered for to the user of the data?
I just want everyone to be registered for our private clan channel.

I'm sorry that I wrote a novel :)
sorry for my english .


[ Edited Sat Jan 30 2010, 01:50PM ]

Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Mon Feb 01 2010, 01:11AM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
I am sill unsure of how this will actually work how you want it to

example

user: !auth (authname) (authpassword)
bot: auths using "users"'s info

the bot would then be authed and not the user requesting to "auth" up.

a more suitable script, would be a help script

example

user: !register
bot: Please start by introducing yourself to Q by typing /msg Q HELLO user@host.com user@host.com
bot: If successful a password will be emailed to you

user: !auth
bot: Please auth yourself by typing /msg Q@CServe.quakenet.org AUTH username password
bot: where "username" is the nick you used when messaging "hello" to Q

etc etc etc


[ Edited Mon Feb 01 2010, 01:15AM ]

//server -m irc.sassirc.com -j #SassIRC.com
Back to top
Lenooox
Mon Feb 01 2010, 03:37AM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
yes indeed , u have truth ! i trying make one , I do not think it will succeed


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Mon Feb 01 2010, 12:55PM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
i know this is not what you want, but this might help your users.

the script you want, i do not think is possible.

commands
!help
!request OR !hello
!newpass
!email
!requestpassword
!auth


/*
Quakenet Q command help bot
By PuNkTuReD
http://www.sassirc.com
*/

on *:text:*:#: {

  if ($1 == !help) { msg $active Hi, I am here to help you request an account with Q. $&
      The commands I can help with are: !request !hello !newpass !email !requestpassword !auth.  
  }

  elseif ($1 == !register) || ($1 == !hello) { 
    msg $active HELLO: Creates a new user account in the bot. Your current nickname will be used for the name of the account, $&
      and may only contain letters, numbers, and hyphens (-). 
    msg $active USAGE: /msg Q HELLO user@host.com user@host.com
    msg $active You need to specify your email address TWICE (to prevent typing mistakes). $&
      A link where you can obtain your password will then be sent to the email address specified. $&
      You must read and reenter a code before you will be given your password. You can then AUTH to Q.
  }

  elseif ($1 == !newpass) { 
    msg $active NEWPASS: Change your password. Your new password must be at last 6 characters long, $&
      contain at least one number and one letter, and may not contain sequences of letters or numbers. $&
      Your new password MUST be given twice, to check that you didn't mistype it. Your old password is needed for verification purposes. 
    msg $active USAGE: /msg Q@CServe.quakenet.org NEWPASS oldpassword newpassword newpassword 
  }

  elseif ($1 == !email) { 
    msg $active EMAIL: Your email is used if you have forgotten your password and want to get it by email. $&
      Your Q account password is needed for verification purposes. It's NOT possible to view other users' email addresses. 
    msg $active USAGE: /msg Q@CServe.quakenet.org EMAIL password user@host.com user@host.com 
  }

  elseif ($1 == !Requestpassword) { 
    msg $active REQUESTPASSWORD: Get your password mailed to your email address in case you have lost it. 
    msg $active USAGE: /msg Q REQUESTPASSWORD user@host.com 
  }

  elseif ($1 == !auth) { 
    msg $active AUTH: Authenticates you as a particular user on the bot. 
    msg $active USAGE: /msg Q@CServe.quakenet.org AUTH username password 
  }

}


[ Edited Mon Feb 01 2010, 12:59PM ]

//server -m irc.sassirc.com -j #SassIRC.com
Back to top
Lenooox
Mon Feb 01 2010, 02:33PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
woow very cool mate :) Thank you very much


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Mon Feb 01 2010, 03:21PM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
no problem, just let me know if you want more Q commands added to it.


//server -m irc.sassirc.com -j #SassIRC.com
Back to top
PuNkTuReD
Tue Feb 02 2010, 07:12AM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
Updated version:

More commands.
Flood Protection.
On and Off function.

http://www.sassirc.com/snippets/view.php?snippet=181

Commands This bot can help with are:

!adduser !auth !authhistory !autolimit !banclear !bandel !banlist !bantimer !challenge !challengeauth !chanflags !chanlev !chanmode !chanophistory !chanstat !clearchan !deopall !email !giveowner !hello !help !invite !newpass !op !permban !recover !removeuser !requestowner !requestpassword !reset !settopic !showcommands !tempban !unbanall !unbanmask !unbanme !userflags !users !version !voice !welcome !whoami !whois


Your users can view this list by typing !qhelp


//server -m irc.sassirc.com -j #SassIRC.com
Back to top
Lenooox
Thu Feb 04 2010, 11:23PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
w000t ! Many Thank you mate ! Veryyy cooool :P


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
 

Jump:     Back to top

User Colour Key:
Head Administrator, Administrator, Forum Moderator, Member

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System


SassIRC Partners/Affiliates


Evolution Scriptz Free Shoutbox at FreeShout ReplayIRC