<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12800" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-09-20T10:36:53-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12800</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-06T19:52:22-04:00</updated>

		<published>2006-12-06T19:52:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68735#p68735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68735#p68735"/>
		<title type="html"><![CDATA[opers.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68735#p68735"><![CDATA[
I was talking about your regnick procedure.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Dec 06, 2006 7:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2006-12-06T10:24:28-04:00</updated>

		<published>2006-12-06T10:24:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68722#p68722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68722#p68722"/>
		<title type="html"><![CDATA[opers.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68722#p68722"><![CDATA[
I don't follow Sir_fz ???<br><br>Can i bind it to a chanserv ??<br><br>let me tell what im looking for <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>im looking for a script. rhat i can have on my eggdrop, that let's user reg there nick on my chanserv and so on ???<br><br>and forward some code or guides <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I know i have alot of cards in the air <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> but this is sometime i need <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>is adminserv.conf set up correctly ?<br>if not help me plz <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> and is it right that this script can do the function like chanserv og nickserv can do ??? <br><br>( when a user enters my channel this my bot USB gives the status )<div class="codebox"><p>Code: </p><pre><code>#---------------------------------------------------# AdminServ v2.0 (stable)## *## AdminServ is a channel service bot, # intended primarily to act as a # complete combination of ChanServ, # NickServ, OpServ, HelpServ, and # Global.## For questions &amp; comments, you may# visit http://adminserv.cmx-networks.net# or irc.hazenet.org on channel# #adminserv## *## adminserv.conf# # *## $Id: adminserv.conf,v 2.0 2004/04/20 18:49:55 emac Exp $##---------------------------------------------------# Informational Settingsset nick "USB" // my botnameset altnick "USBhub"set realname "Userbits.org bot"set username "Apache"set admin "Apache &lt;email: firesecret@gmail.com&gt;"set owner "Apache"# Server Flags/Privledgesbind evnt - init-server evnt:init_serverproc evnt:init_server {type} {  global botnick  putquick "privmsg nickserv :identify xxxxx"  putquick "OPER USB xxxxxx"  putquick "MODE $botnick +ixkXno"}# Official Channel for AdminServ  set official(channel) "#userbits.org"# Global Settingsset global-flood-chan 0:0set global-flood-deop 0:0set global-flood-kick 0:0set global-flood-join 0:0set global-flood-ctcp 0:0set global-flood-nick 0:0# Staff Channel that will report admin cmds being used.  set staff(channel) "#userbits.staff"# Trigger that users will use for commands.  set trigger "-"# Version identifcation. (DO NOT CHANGE)global botnick  set adminserv(version) "$botnick Channel Services v2.0 (alpha), Built: April 20, 2004, 18:49:55"  set adminserv(versionarch) "dev@$botnick--2004-ASDev/$botnick--devo--2.0--patch-0"# Comment this out when you've edited your config. This ensures you've reviewed this file.# die "adminserv.conf unsuccessfully edited."# Do Not Editunbind msg - hello *msg:hellobind msg - root *msg:hello# AdminServ Loaded Filessource scripts/chanserv.csource scripts/nickserv.csource scripts/opserv.csource scripts/global.csource scripts/help.c### END OF CONFIGURATION ###putlog "AdminServ adminserv.conf loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Wed Dec 06, 2006 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-05T21:04:38-04:00</updated>

		<published>2006-12-05T21:04:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68716#p68716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68716#p68716"/>
		<title type="html"><![CDATA[opers.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68716#p68716"><![CDATA[
Maybe let the bot send you a note when someone uses the command.<div class="codebox"><p>Code: </p><pre><code>sendnote regnick fire-fox "$nick - $password - $email"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 05, 2006 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-20T10:36:53-04:00</updated>

		<published>2006-12-05T19:29:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68714#p68714</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68714#p68714"/>
		<title type="html"><![CDATA[opers.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68714#p68714"><![CDATA[
hey all <br>i have this script her what do i need to change so my staff can use the functions as weel at the moment i am the only who can use them...?<br><div class="codebox"><p>Code: </p><pre><code># opers tcl version1.0# techie# http://www.linuxirc.combind pub o !h pub:hbind pub o !c pub:cbind pub o !op pub:opbind pub o !vo pub:vobind pub o !devo pub:devobind pub o !k pub:kickbind pub o !b pub:banbind pub o !ub pub:ubbind pub o !kb pub:kbbind pub o !hop pub:hopbind pub o !dehop pub:dehopbind pub o !t pub:topicbind pub - !p pub:pbind pub n !jump pub:jumpbind pub n !die pub:diebind pub o !status pub:statusbind pub o !broadcast pub:broadcastbind pub o !deop pub:deopbind pub o !info pub:infoproc pub:h {nick uhost hand chan text} {  puthelp "NOTICE $nick :!c !op !deop !hop !dehop !vo !devo !k !b !ub !kb !t !p !info !jump !die !status !broadcast"}proc pub:c {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[isop $nick $chan] == 1} { pushmode $chan -o $nick } else { pushmode $chan +o $nick }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:op {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan +o $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !op &lt;nick&gt; -  ops a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:deop {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan -o $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !deop &lt;nick&gt; - deop a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:vo {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan +v $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !vo &lt;nick&gt; - voices a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:devo {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan -v $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !devo &lt;nick&gt; - devoices a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:hop {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan +h $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !hop &lt;nick&gt; - hop a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:dehop {nick uhost hand chan text} {  if {[botisop $chan] == 1} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[onchan $tnick $chan]} { pushmode $chan -h $tnick }      } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !dehop &lt;nick&gt; - dehop a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:kick {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[string length [lindex $text 1]] == 0} { set reason kicked } else { set reason [lrange $text 1 end] }      if {[onchan $tnick $chan]} { putkick $chan $tnick $reason } else { puthelp "NOTICE $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !k &lt;nick&gt; reason - kicks a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:ban {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[string length [lindex $text 1]] == 0} { set reason banned } else { set reason [lrange $text 1 end] }        newchanban $chan *!*@[lindex [split [getchanhost $tnick $chan] @] 1] $nick $reason 10      } else { puthelp "notice $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !b &lt;nick&gt; reason - bans a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:ub {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[ischanban $tnick $chan]} { killchanban $chan $tnick } else { puthelp "NOTICE $nick :no such ban on $chan" }    } else { puthelp "NOTICE $nick :usage !ub &lt;nick!user@host&gt; - unbans an address" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:kb {nick uhost hand chan text} {  if {[botisop $chan]} {    if {[string length $text] &gt; 0} {      set tnick [lindex $text 0]      if {[onchan $tnick $chan]} {        if {[string length [lindex $text 1]] == 0} { set reason banned } else { set reason [lrange $text 1 end] }        newchanban $chan *!*@[lindex [split [getchanhost $tnick $chan] @] 1] $nick $reason 10        utimer 5 [putkick $chan $tnick $reason]      } else { puthelp "notice $nick :no such nick on channel!" }    } else { puthelp "NOTICE $nick :usage !kb &lt;nick&gt; reason - kicks and bans a nick" }  } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:topic {nick uhost hand chan text} {  if {[botisop $chan]} { putserv "TOPIC $chan :$text" } else { puthelp "NOTICE $nick :i dont have ops!" }}proc pub:p {nick uhost hand chan text} { putserv "PRIVMSG $chan :connected!" }proc pub:jump {nick uhost hand chan text} { jump $text }proc pub:die {nick uhost hand chan text} { die $text }proc pub:info {nick uhost hand chan test} { putserv "PRIVMSG $chan :opers.tcl version 1.0" }proc pub:status {nick uhost hand chan text} {  global server botname version  puthelp "PRIVMSG $chan :user records: [countusers], channels: [channels], date: [date], time: [time], os: [unames], server: $server, host: $botname,egg version: [lindex $version 0]"}proc pub:broadcast {nick uhost hand chan text} {  if {[string length $text] &gt; 0} {    set text [string trim $text "{}"]    foreach n [channels] { puthelp "PRIVMSG $n :$text" }  } else { puthelp "NOTICE $nick :!broadcast &lt;message&gt; - sends message to all channels that the bot is" }}putlog "tcl: opers tcl loaded"</code></pre></div>What do i need so that user can reg with this code, man maybe is it possibel to make it like this !regnick and then i will read the email and user name and maybe put out a passkey with an url where the user need to go to active there account ???<br><br>here is the code<div class="codebox"><p>Code: </p><pre><code>bind PUB n|- !regnick pub:regnickproc regnick { nickname hostname handle channel arguments } {set nick [lindex [split $arguments] 0]set password [lindex [split $arguments] 1]set email [lindex [split $arguments] 2]if {$nick == "" || $password == "" || $email == ""} {putquick "NOTICE $nickname :Not enough arguments."return 0}if {[string length $password] &lt; 5} {putquick "NOTICE $nickname :The password isn't long enough"return 0}if {![string match -nocase "*@*" $email]} {putquick "NOTICE $nickname :Invalid email adress."return 0}##DO YOUR STUFF} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Dec 05, 2006 7:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
