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

	<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>2003-04-27T07:34:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MC_8]]></name></author>
		<updated>2003-04-27T07:34:49-04:00</updated>

		<published>2003-04-27T07:34:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19504#p19504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19504#p19504"/>
		<title type="html"><![CDATA[Game setups]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19504#p19504"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !add proc_addproc proc_add {nick uhost handle channel arg} {  set file datafile  if {![file exists $file]} {close [open $file w]}  set io [open $file w]  puts $io $arg  close $io  putserv "PRIVMSG $channel :Added; $arg"}bind pub - !remove proc_removeproc proc_remove {nick uhost handle channel arg} {  set file datafile  if {![file exists $file]} {close [open $file w]}  set io [open $file r]  set list ""  while {![eof $io]} {    gets $io line    set line [string tolower $line]    if {([string trim $line] == "") ||        ($line == [string tolower $arg])} {continue}    lappend list $line  }  close $io  set io [open $file w]  foreach line $list {puts $io $line}  close $io  putserv "PRIVMSG $channel :Removed; $arg"}bind pub - !scrimlist proc_scirmlistproc proc_scirmlist {nick uhost handle channel arg} {  set file datafile  if {![file exists $file]} {close [open $file w]}  set io [open $file r]  set list ""  while {![eof $io]} {    gets $io line    if {[string trim $line] == ""} {continue}    lappend list $line  }  close $io  set length [llength $list]  set message "$length match[expr {($length == "1")?"":"es"}] found;"  putserv "PRIVMSG $channel :$message"  foreach line $list {    putserv "PRIVMSG $channel :$line"  }}</code></pre></div>Hope that helps.  This may have a bug here and there, I didn't test it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3080">MC_8</a> — Sun Apr 27, 2003 7:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-02-12T14:38:42-04:00</updated>

		<published>2003-02-12T14:38:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16493#p16493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16493#p16493"/>
		<title type="html"><![CDATA[Game setups]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16493#p16493"><![CDATA[
I have been looking for a script for some time now and have tried to write my own, but to no avail =[ If anyone know of a script thats fits this or is willing to write one =] I would be very greatfull. I'm looking for a "srimage" script<br>Allows clans to add their clan to a list on the bot of clans looking to scrimage other clans. For instence. !add Clan:[WTF]  Players:7  time:9pm Map:mp_castle when people type !scrimlist the bot  will publicly display a list of clans with the info above, that have been added for that night.<br><br>Thanks for any help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by Guest — Wed Feb 12, 2003 2:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
