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

	<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>2006-07-29T21:33:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-07-29T21:33:32-04:00</updated>

		<published>2006-07-29T21:33:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65003#p65003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65003#p65003"/>
		<title type="html"><![CDATA[OnDeop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65003#p65003"><![CDATA[
You may find the <a href="http://www.alien.net.au/irc/irc2numerics.html" class="postlink">IRC/2 Numeric List</a> of some help.<br><br>You might also read up on "botisop" in tcl-commands.doc in your bots ~/doc folder.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jul 29, 2006 9:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dq]]></name></author>
		<updated>2006-07-29T14:39:02-04:00</updated>

		<published>2006-07-29T14:39:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64993#p64993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64993#p64993"/>
		<title type="html"><![CDATA[OnDeop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64993#p64993"><![CDATA[
Hey all,<br><br>I'm working with the abuse script that H@0 made, I was looking to make some additions to it like OnDeop and OnBan here's what I have so far..<br><br>I'm not 100% sure with the OnDeop or OnBan as I don't know the args or the bind to use =x<br><div class="codebox"><p>Code: </p><pre><code>#  abuse user report by H@0 ver 1.0.  #  configuration     #  variables          set validchannel "#reportcentre"          set abuselogfile "logs/abuse.log"          if {![info exists validchannel]} {die "ERROR:Check back again in set validchannel settings.."}          set arg.v "Abuse User Report"     #  bindings          bind KICK -   *                   abuse_kick          bind NEED -   "* -o"              abuse_deop          bind PUB  n   -history            abuse_report     #  source (again DO NOT change anything if you are not 100% sure)      #  process kickedproc abuse_kick {nick host handle chan who excuse} {  global abuselogfile botnick validchannel  if {$who != $botnick} {return 0}    set data "Info: Kick $botnick by $nick from $chan with excuse ($excuse)"  if {$abuselogfile != ""} {set r [open $abuselogfile a+]; puts $r "[strftime "%d %b %Y, %H:%M %z"]: $data"; close $r}    putquick "privmsg $validchannel :Important: (Bot: $botnick) (Action: Kicked) (Channel: $chan) (Reason: $excuse) (User: $nick)"return 0}     #  process deoppedproc abuse_deop {nick uhost handle chan arg} {  global abuselogfile botnick validchannel  if {$who != $botnick} {return 0}    set data "Info: Deop $botnick by $nick in $chan"  if {$abuselogfile != ""} {set r [open $abuselogfile a+]; puts $r "[strftime "%d %b %Y, %H:%M %z"]: $data"; close $r}    putquick "privmsg $validchannel :Important: (Bot: $botnick) (Action: Deopped) (Channel: $chan) (User: $nick)"return 0}     #  process reportproc abuse_report {nick host handle channel var} {global abuselogfile botnick validchannelset fd [open $abuselogfile r]set abuselist { }while {![eof $fd]} { set tmp [gets $fd] if {[eof $fd]} {break}  set abuselist [lappend abuselist [string trim $tmp]] } close $fd if {[llength $abuselist] == 0} {     putserv "privmsg $validchannel :Error: There is no history for $botnick."      return 0 } putserv "privmsg $validchannel :Log History for $botnick:" foreach tmp $abuselist {   putserv "privmsg $validchannel :$tmp" }putserv "privmsg $validchannel : End of Abuselist\n" return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7571">dq</a> — Sat Jul 29, 2006 2:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
