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

	<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>2011-03-09T13:43:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Perhap]]></name></author>
		<updated>2011-03-09T13:43:55-04:00</updated>

		<published>2011-03-09T13:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96424#p96424</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96424#p96424"/>
		<title type="html"><![CDATA[Connecting commads]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96424#p96424"><![CDATA[
Hey <br><br>I got a basic idea of scripting but i dont know how to connect some commands with differnt files.<br><br>for example i want to write "!test" and the bot should write a text that I got in a textdoc. i cant do so by letting the bot write something in the channel because i want another bot to edit this textfile ongoing.<br><br>and secondly i dont get how i let the bot change the topic not using partyline. and edit it ongoing . so if somebody writes in the channel "!searchtest" my eggdrop changes the topic to : " nicks serching: examplename is searching for example.<br><br>and if anotherone writes "!searchtest2" the bot changes to ."<br>nicks serching: examplename is searching for example, examplename is searching for example2.<br><br>this should go on, so everbody can edit the topic by using one command but not change it to whatever and whenever he wants.<br><br>so far i got this but its not working:<div class="codebox"><p>Code: </p><pre><code>bind pub - !search "text" pub_searchproc pub_search {nick uhost hand chan arg} { global no_bots putlog "$nick used !search $arg" putchan $chan "\002 Who isn´t sticking to the rules will be kicked!" puthelp "TOPIC $chan $arg : §textputhelp "NOTICE $arg : Changed Topic to "§text"}</code></pre></div>Im looking forward to some help <br><br>regards Perhap<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11598">Perhap</a> — Wed Mar 09, 2011 1:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
