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

	<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>2008-06-16T04:38:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-06-16T04:38:13-04:00</updated>

		<published>2008-06-16T04:38:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83552#p83552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83552#p83552"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83552#p83552"><![CDATA[
Thanks Nor7on...I'm too lazy to test it, but I think it's ok <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Mon Jun 16, 2008 4:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-06-13T08:41:38-04:00</updated>

		<published>2008-06-13T08:41:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83510#p83510</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83510#p83510"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83510#p83510"><![CDATA[
ohh i see.<br><br>look. <br><div class="codebox"><p>Code: </p><pre><code>proc RanaUsman:punish {nick uhost chan} {global punish deopkickreasonif {($punish == 0)} { return 0 }if {($punish == 1)} {if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "KICK $chan $nick :$deopkickreason"putlog "\002$nick Kicked from $chan for Deoping me on $chan " } </code></pre></div>change for:<br><div class="codebox"><p>Code: </p><pre><code>proc RanaUsman:punish {nick uhost chan} {global punish deopkickreason servicenickif {($punish == 0)} { return 0 }if {($punish == 1)} {if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putserv "PRIVMSG $servicenick :KICK $chan $nick $deopkickreason"putlog "\002$nick Kicked from $chan for Deoping me on $chan " } </code></pre></div>This code kick via X.<br><br>try.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri Jun 13, 2008 8:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-06-13T03:16:33-04:00</updated>

		<published>2008-06-13T03:16:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83503#p83503</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83503#p83503"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83503#p83503"><![CDATA[
I've set punish to 1 !!!<br>ok, thanks Nor7on with the time reop...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Fri Jun 13, 2008 3:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-06-11T17:16:24-04:00</updated>

		<published>2008-06-11T17:16:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83490#p83490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83490#p83490"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83490#p83490"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#You have Four options Use 0,1,2 or 3#Set it as '0' If you dont want bot to take any action against the user which deoped your bot#Set it as '1' If you want Bot to KICK the user who deoped your bot#Set it as '2' If you want Bot to KICK n BAN the User who deoped your bot#Set it as '3' If you want Bot to DEOP the user who deoped your botset punish "0" </code></pre></div>if u want kick to user deoper, change "0" to "1".<br><br>and, if u want reop every 30min<br><br>change:<br><div class="codebox"><p>Code: </p><pre><code>utimer 600 [list putserv "PRIVMSG $servicenick :op $chan $botnick"] putlog "\002REOP SUCCESSFULL"</code></pre></div>for<br><br><div class="codebox"><p>Code: </p><pre><code>utimer 1800 [list putserv "PRIVMSG $servicenick :op $chan $botnick"] </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Wed Jun 11, 2008 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-06-09T03:33:26-04:00</updated>

		<published>2008-06-09T03:33:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83458#p83458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83458#p83458"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83458#p83458"><![CDATA[
hmm the Bot reoped itself after 10 minutes, but the user wasn't kicked, ok it doesn't matter...the main function is working!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Mon Jun 09, 2008 3:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-06-09T03:21:37-04:00</updated>

		<published>2008-06-09T03:21:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83457#p83457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83457#p83457"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83457#p83457"><![CDATA[
<blockquote class="uncited"><div>If ur eggdrop is deoped, ur bot them of 10min request Op to X (bot undernet).<br><div class="codebox"><p>Code: </p><pre><code>#----------------------------------------------------------------------------------------------------------------------##                                           AUTO REOP SCRIPT BY RANA USMAN                                             ##----------------------------------------------------------------------------------------------------------------------##ALLAH IS GREATEST#Salam O Aleikum n Hiya!, Purpose of writing this script is , if someone deop your Bot it will get OP automatically Using #Network Services only if bot have access to that channel where it is deoped.There is option for you to set the nick of #Service manually.Before there are some scripts available but they do only work for Dalnet or the services having Chanserv#as nick.But in this script you have option to set the services nick.#This script works on all the channels where bot is parked#AUTHOR : Rana Usman #Email : coolguy_rusman@yahoo.com#URL : www.ranausman.tk or www.airevision.tk#If you have any suggesstion about my script kindly tell me i will be glad to look forward thank you#Version : 1.2                                                                                                                                                                                                                                          ## History # Before the bot used to ban the services IP if they deop bot but it is fixed now # Thanks to Riderz for reporting bug                                                                                                                                                                                                                                                      #####################################- CONFIGURATION STARTS FROM HERE -# ######################################################### SET SERVICE NICK ######################Set Service Nick Here means the Network Official Bot, like Undernet's Bot Nick is X #FOR UNDERNET USE NICK : X#FOR DALNET USE : chanserv@services.dal.net#FOR QUAKENET USE : Q or L (depends what bot you have on your Channel)#FOR NETWORK HAVING SERVICES LIKE Nickserv and Chanserv Use : CHANSERVset servicenick "X"################### SET PUNISHMENT ####################You have Four options Use 0,1,2 or 3#Set it as '0' If you dont want bot to take any action against the user which deoped your bot#Set it as '1' If you want Bot to KICK the user who deoped your bot #Set it as '2' If you want Bot to KICK n BAN the User who deoped your bot#Set it as '3' If you want Bot to DEOP the user who deoped your botset punish "0"#################### SET KICK REASON #####################Set Reason here In Case you set the upper Option as 1 or 2 #::REMEMBER::  BOT will only kick if the SET PUNISHMENT OPTION IS SET TO 1 or 2set deopkickreason "12{Anti Deop Protection} 5Kindly Dont Deop Me Next Time"############################ CONFIGURATION ENDS HERE #############################--------------------------------------------------------------------------------------------------------------------##   SCRIPT STARTS FROM HERE...MAKE IT BETTER WITH YOUR SKILLS IF YOU CAN.I DONT RESTRICT YOU TO NOT TO TOUCH CODE!   ##--------------------------------------------------------------------------------------------------------------------#bind mode - "*-*o*" RanaUsman:autoreopproc RanaUsman:autoreop {nick uhost hand chan mode target} {global botnick servicenick punish deopkickreasonif {($target == $botnick) &amp;&amp; ($nick != $botnick)} {if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putlog "\002BOT DEOPED ON $chan by $nick"putlog "\002REOPING BOT ON $chan"utimer 600 [list putserv "PRIVMSG $servicenick :op $chan $botnick"]putlog "\002REOP SUCCESSFULL"utimer 2 [list RanaUsman:punish $nick $uhost $chan]  }}proc RanaUsman:punish {nick uhost chan} {global punish deopkickreasonif {($punish == 0)} { return 0 }if {($punish == 1)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "KICK $chan $nick :$deopkickreason"putlog "\002$nick Kicked from $chan for Deoping me on $chan " }if {($punish == 2)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]"putquick "KICK $chan $nick :$deopkickreason"putlog "\002 $nick BAN N KICKED FROM $chan FOR DEOPING ME ON $chan"}if {($punish == 3)} { putquick "MODE $chan -o $nick"putlog "\002$nick DEOPED FOR DEOPING ME ON $chan" }} ############################################################################################putlog "=- \002DEOP PROTECTION BY RANA USMAN (www.ranausman.tk) LOADED SUCCESSFULLY \002 -="############################################################################################</code></pre></div>try.</div></blockquote>Thanks Nor7on <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>But if I want to change it to 5 or 30 minutes<br>I don't understand in minutes or seconds the script is working<br><div class="codebox"><p>Code: </p><pre><code>utimer 600 [list putserv "PRIVMSG $servicenick :op $chan $botnick"]putlog "\002REOP SUCCESSFULL"utimer 2 [list RanaUsman:punish $nick $uhost $chan] </code></pre></div>I've tested the script 1 min ago, it's not working, in partyline the bot is saying:<br><br>[10:19] BOT DEOPED ON #Drochia by tester`<br>[10:19] REOPING BOT ON #Drochia<br>[10:19] REOP SUCCESSFULL<br>[10:19] tester` Kicked from #Drochia for Deoping me on #Drochia<br><br>But on the chan nothin` happens, no reop &amp; no kick !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Mon Jun 09, 2008 3:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-06-06T09:50:29-04:00</updated>

		<published>2008-06-06T09:50:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83432#p83432</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83432#p83432"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83432#p83432"><![CDATA[
If ur eggdrop is deoped, ur bot them of 10min request Op to X (bot undernet).<br><div class="codebox"><p>Code: </p><pre><code>#----------------------------------------------------------------------------------------------------------------------##                                           AUTO REOP SCRIPT BY RANA USMAN                                             ##----------------------------------------------------------------------------------------------------------------------##ALLAH IS GREATEST#Salam O Aleikum n Hiya!, Purpose of writing this script is , if someone deop your Bot it will get OP automatically Using #Network Services only if bot have access to that channel where it is deoped.There is option for you to set the nick of #Service manually.Before there are some scripts available but they do only work for Dalnet or the services having Chanserv#as nick.But in this script you have option to set the services nick.#This script works on all the channels where bot is parked#AUTHOR : Rana Usman #Email : coolguy_rusman@yahoo.com#URL : www.ranausman.tk or www.airevision.tk#If you have any suggesstion about my script kindly tell me i will be glad to look forward thank you#Version : 1.2                                                                                                                                                                                                                                          ## History # Before the bot used to ban the services IP if they deop bot but it is fixed now # Thanks to Riderz for reporting bug                                                                                                                                                                                                                                                      #####################################- CONFIGURATION STARTS FROM HERE -# ######################################################### SET SERVICE NICK ######################Set Service Nick Here means the Network Official Bot, like Undernet's Bot Nick is X #FOR UNDERNET USE NICK : X#FOR DALNET USE : chanserv@services.dal.net#FOR QUAKENET USE : Q or L (depends what bot you have on your Channel)#FOR NETWORK HAVING SERVICES LIKE Nickserv and Chanserv Use : CHANSERVset servicenick "X"################### SET PUNISHMENT ####################You have Four options Use 0,1,2 or 3#Set it as '0' If you dont want bot to take any action against the user which deoped your bot#Set it as '1' If you want Bot to KICK the user who deoped your bot #Set it as '2' If you want Bot to KICK n BAN the User who deoped your bot#Set it as '3' If you want Bot to DEOP the user who deoped your botset punish "0"#################### SET KICK REASON #####################Set Reason here In Case you set the upper Option as 1 or 2 #::REMEMBER::  BOT will only kick if the SET PUNISHMENT OPTION IS SET TO 1 or 2set deopkickreason "12{Anti Deop Protection} 5Kindly Dont Deop Me Next Time"############################ CONFIGURATION ENDS HERE #############################--------------------------------------------------------------------------------------------------------------------##   SCRIPT STARTS FROM HERE...MAKE IT BETTER WITH YOUR SKILLS IF YOU CAN.I DONT RESTRICT YOU TO NOT TO TOUCH CODE!   ##--------------------------------------------------------------------------------------------------------------------#bind mode - "*-*o*" RanaUsman:autoreopproc RanaUsman:autoreop {nick uhost hand chan mode target} {global botnick servicenick punish deopkickreasonif {($target == $botnick) &amp;&amp; ($nick != $botnick)} {if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putlog "\002BOT DEOPED ON $chan by $nick"putlog "\002REOPING BOT ON $chan"utimer 600 [list putserv "PRIVMSG $servicenick :op $chan $botnick"]putlog "\002REOP SUCCESSFULL"utimer 2 [list RanaUsman:punish $nick $uhost $chan]  }}proc RanaUsman:punish {nick uhost chan} {global punish deopkickreasonif {($punish == 0)} { return 0 }if {($punish == 1)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "KICK $chan $nick :$deopkickreason"putlog "\002$nick Kicked from $chan for Deoping me on $chan " }if {($punish == 2)} { if {($nick == "X") || ($nick == "Q") || ($nick == "L") || ($nick == "chanserv")} { return 0 }putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]"putquick "KICK $chan $nick :$deopkickreason"putlog "\002 $nick BAN N KICKED FROM $chan FOR DEOPING ME ON $chan"}if {($punish == 3)} { putquick "MODE $chan -o $nick"putlog "\002$nick DEOPED FOR DEOPING ME ON $chan" }} ############################################################################################putlog "=- \002DEOP PROTECTION BY RANA USMAN (www.ranausman.tk) LOADED SUCCESSFULLY \002 -="############################################################################################</code></pre></div>try.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Fri Jun 06, 2008 9:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eXtremer]]></name></author>
		<updated>2008-06-06T03:21:02-04:00</updated>

		<published>2008-06-06T03:21:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83430#p83430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83430#p83430"/>
		<title type="html"><![CDATA[Reop on deop script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83430#p83430"><![CDATA[
I need script that will op my Bot when it's deoped.<br>But I don't want to create a op/deop flood on the chan.<br>The script should have some options, for example if deoped twice the bot<br>will not ask X fo reop, or if deoped by X (ChanServ) the bot will not reop itself or will try reoping itself in about 30 minutes.<br><br>I've tried <a href="http://forum.egghelp.org/search.php" class="postlink">Search</a> nothing found, just awyeah <a href="http://forum.egghelp.org/viewtopic.php?t=15794" class="postlink">ChanServ Auto Reop Script</a>, but it doesn't work on Undernet.<br><br>Waiting for reply, thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9905">eXtremer</a> — Fri Jun 06, 2008 3:21 am</p><hr />
]]></content>
	</entry>
	</feed>
