<?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/7757" />

	<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>2004-06-23T16:11:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-23T16:11:16-04:00</updated>

		<published>2004-06-23T16:11:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37768#p37768</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37768#p37768"/>
		<title type="html"><![CDATA[Combining 2 scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37768#p37768"><![CDATA[
Well... try this... if your script code is okay and<br>works, it should work now as well.<br><div class="codebox"><p>Code: </p><pre><code>#set the bots nickname here set nick "\[WaTcH\]-\[DoG\]" # set channels which it has AOP on you can list as many channels as you want, for example it # will look like so    set channels "#channel1 channel2 channel3" etc leave it empty # if you dont have any channels the bot is a registered aop or sop on set chanels "#BanGLaDesH" #set the ident password here set pass "cafebotrulez" #[0/1] set recieve message from bot when it successfully identifies. set to 0 to prevent the # message or 1 to receive message set succ_id 1 # set your handle here, this is the nickname that the bot knows you buy which is most likely # the same nick as you use on irc there's no need to set it if you haven't enabled recieve  # messages set own "ZaKiR" # set the amount of time in minutes of how often you want to check to see when nickserv is  # online. Default is 1 so it will check every 1 minute to see if nickserv is online    # (minutes) set tim 3 ###############################Main Code##################################### ####### DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING ####### if {(![info exists numversion]) || ($numversion &lt; 1060000) } {     putlog "Error - Can't load Ident.tcl -- At least Eggdrop v1.6.x required."     return 0 } #init-server procedure proc ident:pr {paras} {putserv "ISON Nickserv"putserv "oper EGGDROP $pass"} #raw ison procedure   proc ison:pr {n h paras} {   global botnick nick pass tim     if {[string tolower $paras] == ""} {      timer $tim ident:pr    } else {      if {[isbotnick $nick]} {      putserv "identify $pass"        } else {      putserv "NICKSERV GHOST $nick $pass"       }    }  putserv "oper EGGDROP $pass" }#DCC Ident procedure     proc dc:ident {hand idx para} {      global nick botnick pass      putcmdlog "#$hand# ident"        if {[isbotnick $nick]} {         putserv "IDENTIFY $pass"      } else {       putserv "NICKSERV GHOST $nick $pass"    }  putserv "oper EGGDROP $pass"} #Success Ident Procedure         proc id:suc {n uh h txt paras} {        global nick own succ_id chanels savechannels botnick           if {[string match [string tolower $n] [string tolower nickserv]]} {              set dakill [killignore *!*@dal.net]              set ch [channels]              if {$chanels != ""} {              foreach a $chanels {                     foreach b $ch {                 if {[string tolower $a] == [string tolower $b]} {                    channel set $a need-op "putserv \"CHANSERV :OP $a $botnick\""                    channel set $a need-unban "putserv \"CHANSERV :UNBAN $a $botnick\""               }              }             }         } else {           return 0      }             if {$succ_id == "1"} {         set han [hand2nick $own]         puthelp "NOTICE $han :Successfully Identified to nickserv"            } else {        return 0       }     } }                 #Nick Change Procedure proc ni:pr {n uh h ch ni} { global nick botnick own pass if {[string match [string tolower $ni] [string tolower $nick]]} { putserv "identify $pass"putserv "oper EGGDROP $pass"      }   }       bind need - unban need:unban bind evnt - init-server ident:pr bind notc - "*Password accepted for*" id:suc bind DCC m ident dc:ident bind raw - 303 ison:pr bind nick - * ni:pr </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jun 23, 2004 4:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZaKiR]]></name></author>
		<updated>2004-06-23T15:13:32-04:00</updated>

		<published>2004-06-23T15:13:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37765#p37765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37765#p37765"/>
		<title type="html"><![CDATA[Combining 2 scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37765#p37765"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#Set the bots oper login here set onick "EGGDROP"#Set the bots oper password here  set opass "cafebotrulez"#Set the bots nickname here set nick "\[WaTcH\]-\[DoG\]" #Set the channels which it has AOP on you can list as many channels as you want, for example it # will look like set channels "#channel1 channel2 channel3" etc set chanels "#BanGLaDesH" #Set the nickserv identify password here set pass "cafebotrulez" #Set recieve message from bot when it successfully identifies. Set to 0 to prevent the # message or 1 to receive message set succ_id 1 #Set your handle here, this is the nickname that the bot knows you buy which is most likely # the same nick as you use on irc there's no need to set it if you haven't enabled recieve # messages set own "ZaKiR" #Set the amount of time in minutes of how often you want to check to see when nickserv is # online. Default is 1 so it will check every 1 minute to see if nickserv is online set tim 3 ###############################Main Code##################################### ####### DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING ####### if {(![info exists numversion]) || ($numversion &lt; 1060000) } { putlog "Error - Can't load Ident.tcl -- At least Eggdrop v1.6.x required." return 0 } bind need - unban need:unban bind evnt - init-server ident:pr bind notc - "*Password accepted for*" id:suc bind DCC m ident dc:ident bind raw - 303 ison:pr bind nick - * ni:pr proc ident:pr {paras} { global botnick pass putquick "oper $onick $opass" -next putserv "ISON Nickserv" } proc ison:pr {n h paras} { global botnick nick pass tim if {[string tolower $paras] == ""} { timer $tim ident:pr } else { if {[isbotnick $nick]} { putserv "identify $pass" } else { putserv "NICKSERV GHOST $nick $pass" } } } proc dc:ident {hand idx para} { global nick botnick pass putcmdlog "#$hand# ident" if {[isbotnick $nick]} { putserv "IDENTIFY $pass" } else { putserv "NICKSERV GHOST $nick $pass" } } proc id:suc {n uh h txt paras} { global nick own succ_id chanels savechannels botnick if {[string match [string tolower $n] [string tolower nickserv]]} { set dakill [killignore *!*@dal.net] set ch [channels] if {$chanels != ""} { foreach a $chanels { foreach b $ch { if {[string tolower $a] == [string tolower $b]} { channel set $a need-op "putserv \"CHANSERV :OP $a $botnick\"" channel set $a need-unban "putserv \"CHANSERV :UNBAN $a $botnick\"" } } } } else { return 0 } if {$succ_id == "1"} { set han [hand2nick $own] puthelp "NOTICE $han :Successfully Identified to nickserv" } else { return 0 } } } proc ni:pr {n uh h ch ni} { global nick botnick own pass if {[string match [string tolower $ni] [string tolower $nick]]} { putserv "identify $pass" } } </code></pre></div><strong class="text-strong">this code is not working..  both nick identify &amp; oper login... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5080">ZaKiR</a> — Wed Jun 23, 2004 3:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-23T02:39:42-04:00</updated>

		<published>2004-06-23T02:39:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37738#p37738</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37738#p37738"/>
		<title type="html"><![CDATA[Combining 2 scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37738#p37738"><![CDATA[
*Edited* <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Jun 23, 2004 2:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-23T02:44:40-04:00</updated>

		<published>2004-06-23T02:39:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37737#p37737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37737#p37737"/>
		<title type="html"><![CDATA[Combining 2 scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37737#p37737"><![CDATA[
Try this, it should work.<br><div class="codebox"><p>Code: </p><pre><code>#Set the bots nickname here set nick "\[WaTcH\]-\[DoG\]" #Set the channels which it has AOP on you can list as many channels as you want, for example it # will look like set channels "#channel1 channel2 channel3" etcset chanels "#BanGLaDesH" #Set the ident password here set pass "cafebotrulez" #Set recieve message from bot when it successfully identifies. Set to 0 to prevent the # message or 1 to receive message set succ_id 1 #Set your handle here, this is the nickname that the bot knows you buy which is most likely # the same nick as you use on irc there's no need to set it if you haven't enabled recieve  # messages set own "ZaKiR" #Set the amount of time in minutes of how often you want to check to see when nickserv is  # online. Default is 1 so it will check every 1 minute to see if nickserv is onlineset tim 3 ###############################Main Code##################################### ####### DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING ####### if {(![info exists numversion]) || ($numversion &lt; 1060000) } {     putlog "Error - Can't load Ident.tcl -- At least Eggdrop v1.6.x required."     return 0 } bind need - unban need:unban bind evnt - init-server ident:pr bind notc - "*Password accepted for*" id:suc bind DCC m ident dc:ident bind raw - 303 ison:pr bind nick - * ni:pr  proc ident:pr {paras} {  global botnick pass  putquick "oper EGGDROP $pass" -next  putserv "ISON Nickserv" } proc ison:pr {n h paras} {   global botnick nick pass tim     if {[string tolower $paras] == ""} {      timer $tim ident:pr    } else {      if {[isbotnick $nick]} {      putserv "identify $pass"        } else {      putserv "NICKSERV GHOST $nick $pass"       }    } }  proc dc:ident {hand idx para} {    global nick botnick pass      putcmdlog "#$hand# ident"        if {[isbotnick $nick]} {         putserv "IDENTIFY $pass"      } else {       putserv "NICKSERV GHOST $nick $pass"    } }    proc id:suc {n uh h txt paras} {     global nick own succ_id chanels savechannels botnick           if {[string match [string tolower $n] [string tolower nickserv]]} {              set dakill [killignore *!*@dal.net]              set ch [channels]              if {$chanels != ""} {              foreach a $chanels {                     foreach b $ch {                 if {[string tolower $a] == [string tolower $b]} {                    channel set $a need-op "putserv \"CHANSERV :OP $a $botnick\""                    channel set $a need-unban "putserv \"CHANSERV :UNBAN $a $botnick\""               }              }             }         } else {           return 0      }                          if {$succ_id == "1"} {         set han [hand2nick $own]         puthelp "NOTICE $han :Successfully Identified to nickserv"            } else {        return 0       }    } }                 proc ni:pr {n uh h ch ni} {  global nick botnick own pass   if {[string match [string tolower $ni] [string tolower $nick]]} {     putserv "identify $pass"      } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jun 23, 2004 2:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZaKiR]]></name></author>
		<updated>2004-06-23T02:10:50-04:00</updated>

		<published>2004-06-23T02:10:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37731#p37731</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37731#p37731"/>
		<title type="html"><![CDATA[Combining 2 scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37731#p37731"><![CDATA[
<strong class="text-strong">How Can i combine these two codes into one code.. so that both will work properly</strong><div class="codebox"><p>Code: </p><pre><code>bind evnt - init-server oper:connect proc oper:connect {type} { putserv "oper EGGDROP cafebotrulez" } </code></pre></div><div class="codebox"><p>Code: </p><pre><code>#set the bots nickname hereset nick "\[WaTcH\]-\[DoG\]"# set channels which it has AOP on you can list as many channels as you want, for example it # will look like so    set channels "#channel1 channel2 channel3" etc leave it empty# if you dont have any channels the bot is a registered aop or sop onset chanels "#BanGLaDesH"#set the ident password hereset pass "cafebotrulez"#[0/1] set recieve message from bot when it successfully identifies. set to 0 to prevent the # message or 1 to receive messageset succ_id 1# set your handle here, this is the nickname that the bot knows you buy which is most likely # the same nick as you use on irc there's no need to set it if you haven't enabled recieve  # messagesset own "ZaKiR"# set the amount of time in minutes of how often you want to check to see when nickserv is  # online. Default is 1 so it will check every 1 minute to see if nickserv is online   # (minutes)set tim 3###############################Main Code############################################ DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING #######if {(![info exists numversion]) || ($numversion &lt; 1060000) } {    putlog "Error - Can't load Ident.tcl -- At least Eggdrop v1.6.x required."    return 0}#init-server procedureproc ident:pr {paras} {putserv "ISON Nickserv"}#raw ison procedure  proc ison:pr {n h paras} {  global botnick nick pass tim    if {[string tolower $paras] == ""} {     timer $tim ident:pr   } else {     if {[isbotnick $nick]} {     putserv "identify $pass"       } else {     putserv "NICKSERV GHOST $nick $pass"      }   }}#DCC Ident procedure    proc dc:ident {hand idx para} {     global nick botnick pass     putcmdlog "#$hand# ident"       if {[isbotnick $nick]} {        putserv "IDENTIFY $pass"     } else {      putserv "NICKSERV GHOST $nick $pass"   }} #Success Ident Procedure                  proc id:suc {n uh h txt paras} {       global nick own succ_id chanels savechannels botnick          if {[string match [string tolower $n] [string tolower nickserv]]} {             set dakill [killignore *!*@dal.net]             set ch [channels]             if {$chanels != ""} {             foreach a $chanels {                    foreach b $ch {                if {[string tolower $a] == [string tolower $b]} {                   channel set $a need-op "putserv \"CHANSERV :OP $a $botnick\""                   channel set $a need-unban "putserv \"CHANSERV :UNBAN $a $botnick\""              }             }            }        } else {          return 0     }                         if {$succ_id == "1"} {        set han [hand2nick $own]        puthelp "NOTICE $han :Successfully Identified to nickserv"           } else {       return 0      }    }}               #Nick Change Procedureproc ni:pr {n uh h ch ni} {global nick botnick own passif {[string match [string tolower $ni] [string tolower $nick]]} {putserv "identify $pass"     }  }     bind need - unban need:unbanbind evnt - init-server ident:prbind notc - "*Password accepted for*" id:sucbind DCC m ident dc:identbind raw - 303 ison:prbind nick - * ni:pr</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5080">ZaKiR</a> — Wed Jun 23, 2004 2:10 am</p><hr />
]]></content>
	</entry>
	</feed>
