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

	<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>2007-01-11T09:05:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DeFirence]]></name></author>
		<updated>2007-01-11T09:05:31-04:00</updated>

		<published>2007-01-11T09:05:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69594#p69594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69594#p69594"/>
		<title type="html"><![CDATA[Add on and off trigger to script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69594#p69594"><![CDATA[
Hi,<br><br>I need to add !msgon and !msgoff triggers to this script so that halfops and above can use it. I hav looked on your forums and around other eggdrop sites. please could you help.<br><div class="codebox"><p>Code: </p><pre><code>### SETTINGS #### Channels where the msg is sent to.# If you want to use several channels put a space between themset channels "#chan1 #chan2"# How often do you want the msg to be displayed (in minutes)set minutes 15# Set your msgs here# \002 bold# \003 colour (ex: \0030,12 textcolor=0 white; backgroundcolor=12 blue)# \022 reverse# \037 underline# Write several lines for several msgsset msgs {"\002Line1""\037Line2"}### YOU ARE DONE NOW. YOU DON'T NEED TO EDIT ANYTHING ELSE FROM HERE ###if {![info exists sendtext_running]} { timer $minutes sendtext set sendtext_running 1}   proc sendtext {} { global channels minutes msgs foreach channel $channels {  foreach msg $msgs {   putserv "PRIVMSG $channel :$msg"   } } timer $minutes sendtext return 1  }</code></pre></div>Thanks alot<br><br>DeFirence<br>GT-Radio Staff<br><a href="http://www.gt-radio.co.za" class="postlink">http://www.gt-radio.co.za</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8332">DeFirence</a> — Thu Jan 11, 2007 9:05 am</p><hr />
]]></content>
	</entry>
	</feed>
