This is a nice thing to add to an IRC bot or for any remote of yours. It will always check when a nick joins if they have changed something like their IP, email, etc. It will send these connections in a notice to all channel operators.
General IRC help came from #mircscripting at Undernet.
Remember that %c is a command identifier, so in your Variables tab, set %c as any one character. A common one is !, which I will use below.
Usage:
!quickverify on: Turns the QuickVerify mode on.
!quickverifiy off: Turns the QuickVerify mode off.
!qvregister: Influence all regulars in your channel, including ops, to type !qvregister so they will be checked for imposters.
For best results, you might want to replace all ^BOLD^ and ^COLOR^ marks with bold and color tags. (Bold: Ctrl+B; Color: Ctrl+K) You should be able to do this with the find tool in the mIRC Scripts Editor.
;QuickVerify - Official #BotPark of EsperNet Snippet - Come visit us for bot help, chat, and PARTIES!
on 1000:text:*quickverify*:#:{
if ($1 == %c $+ quickverify) {
if ($2 == on) { .enable #qvchan | .msg $chan $chan $+ : The QuickVerify Mode has been enabled. To register your default information for $chan $+ , type %c $+ qvregister. Ensure that you are using your usual hostname before using this, as well as nick. }
if ($2 == off) { .disable #qvchan | .msg $chan $chan $+ : QuickVerify Mode has been disabled. }
else { .notice $nick ^COLOR^7Incorrect: Use %c $+ quickverify <on/off> | halt }
}
else { halt }
}
#qvchan off
on 1:JOIN:*:{
if (%fulladdress. [ $+ [ $nick ] ] != $null) {
if ($site != %site. [ $+ [ $nick ] ]) {
.notice @ $+ $chan ^COLOR^7^BOLD^Default Site for $nick $+ :^BOLD^ ^COLOR^4NO MATCH
}
else { .notice @ $+ $chan ^COLOR^7^BOLD^Default Site for $nick $+ :^BOLD^ ^COLOR^9MATCH }
if ($host != %host. [ $+ [ $nick ] ]) {
.notice @ $+ $chan ^COLOR^7^BOLD^Default Hostname for $nick $+ :^BOLD^ ^COLOR^4NO MATCH
}
else { .notice @ $+ $chan ^COLOR^7^BOLD^Default Hostname for $nick $+ :^BOLD^ ^COLOR^9MATCH }
if ($fulladdress != %fulladdress. [ $+ [ $nick ] ]) {
.notice @ $+ $chan ^COLOR^7^BOLD^Default Full Address for $nick $+ :^BOLD^ ^COLOR^4NO MATCH
}
else { .notice @ $+ $chan ^COLOR^7^BOLD^Default Full Address for $nick $+ :^BOLD^ ^COLOR^9MATCH }
}
else { .notice @ $+ $chan ^COLOR^7No QuickVerify information registered for $nick $+ . }
}
on 1:text:*qvregister*:#: {
if ($1 == %c $+ qvregister) {
set %fulladdress. [ $+ [ $nick ] ] $fulladdress
set %site. [ $+ [ $nick ] ] $site
set %host. [ $+ [ $nick ] ] $host
.notice $nick ^COLOR^7Your default information has been successfully registered. If you ever wish to overwrite this, simply retype %c $+ qvregister.
}
}
#qvchan end
Okay, in my opinion the bot should save the IP addresses, identds, real names etc. itself from the nick and when the nick joins channel, check whether the information is as it is most the time.
Example: http://irc.rootsecure.org/#t (enter for example 'Reklama' as the nick) and see all data gathered for the nick. All this information can be later on used for various security issues.
Yes, Noutrious. If you're going to comment on a snippet, don't just say, "it's totally done wrong." Offer your suggestion or draw up an example as to how to improve it. This will benefit everyone who views the snippet, along with the comments, from learning more.
I've seen people who make comments like,"useless," "boring...etc..etc." They're not constructive and totally uncalled for. Don't be in those group norms.