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

	<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>2001-11-02T10:19:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-02T10:19:00-04:00</updated>

		<published>2001-11-02T10:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1307#p1307</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1307#p1307"/>
		<title type="html"><![CDATA[vicu's bofh script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1307#p1307"><![CDATA[
Since Vicu's script has no email address included, I thought the best way is to post some corrections to his script here.<br>This script was based on another quote script but Vicu did not remove the old syntax reference.<br><br>Btw - too all coders: please recode your scripts to latin1 before submitting them, since some bots do have problems with CR/LF.<br><br>%snip%<br><br>--- bofh.tcl.oldFri Nov  2 13:15:55 2001<br>+++ bofh.tclFri Nov  2 13:16:53 2001<br>@@ -1,60 +1,15 @@<br> # BOFH script by vicu made just for fun and based on the quote scipt by stigmata <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br> # All is configured, just put this [censored] in your scripts directory and the file bofh.txt in the bot directory.<br>-# y<br> <br> #################################################################################<br> # This script requires alltools.tcl v1.3 (loaded by default on 1.4.x and above.)<br>-# This script requires mc.moretools, 1.2 was used.<br> ##### Designed to operate with Eggdrop 1.6.x &amp;&amp; TCL 8.2+ ####<br> <br>-<br>-### DEFAULT COMMANDS AND INFO ######################################<br>-# { all commands are typed in channel }<br>-#<br>-# !addquote &lt;quote&gt;<br>-# ### This adds quotes to the storage file, quotes can contain any type of character.<br>-# ### Default access: global/channel +o<br>-#<br>-# !delquote &lt;num/search&gt; &lt;quote number/exact quote&gt;<br>-# ### Searches for quote number, or exact match of specified<br>-# ### quote and deletes it.<br>-# ### Default access: global/channel +o<br>-#<br>-# !selquote &lt;num&gt;<br>-# ### Prints out the specified quote number.<br>-# ### Default access: everyone<br>-#<br>-# !quotes or !quote<br>-# ### Prints out a random quote from the storage file.<br>-# ### Default access: everyone<br>-#<br>-# !quotehelp<br>-# ### Notices the user commands for this script.<br>-# ### Default access: everyone<br>-#<br>-# !getquotes<br>-# ### Sends the user the quote storage file.<br>-# ### Default access: Users with global +Q<br>-#<br>-# !getscript<br>-# ### Sends the user the quote script.<br>-# ### Default access: Users with global +Q<br>-#<br>-# Most commands are available via message and dcc chat. Commands are like<br>-# addquote, getquotes, getscript etc.<br>-#<br>-# Notes: Simple quote script, no super advanced features intended.<br>-#        should work with 1.4.x as well.<br>-#<br>-####################################################################<br>-<br> set bofh(vershort) "1.0"<br>-set bofh(verlong) "0100000"<br>-set bofh(script) "scripts/bofh.tcl"<br> <br> ### SETTINGS ########################################################<br> # Select this to your perferred command prefix, "" is acceptable.<br>-#set bofh(cmd) "!"<br>+set bofh(cmd) "!"<br> <br> # File name of the storage file for BOFH excuses.<br> set bofh(file) "bofh.txt"<br>@@ -82,13 +37,11 @@<br> #### Eggdrop bindings ###############################################<br> <br> # Random BOFH bindings<br>-bind pub $bofh(readflag) !bofh bofh_random<br>-bind pub $bofh(readflag) !bofh bofh_random<br>-bind dcc $bofh(readflag) bofh bofh_dccrandom<br>+bind pub $bofh(readflag) [string trim $bofh(cmd)]bofh bofh_random<br> bind dcc $bofh(readflag) bofh bofh_dccrandom<br> <br> # Select BOFH bindings<br>-bind pub $bofh(readflag) !selbofh bofh_sel<br>+bind pub $bofh(readflag) [string trim $bofh(cmd)]selbofh bofh_sel<br> bind dcc $bofh(readflag) selbofh bofh_dccsel<br><br>%snip%<br><br><br>&lt;font size=-1&gt;[ This Message was edited by: cycomate on 2001-11-02 07:20 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Fri Nov 02, 2001 10:19 am</p><hr />
]]></content>
	</entry>
	</feed>
