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

	<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>2014-06-14T06:26:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sane]]></name></author>
		<updated>2014-06-14T06:26:56-04:00</updated>

		<published>2014-06-14T06:26:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102899#p102899</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102899#p102899"/>
		<title type="html"><![CDATA[a simple topic script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102899#p102899"><![CDATA[
Yeah, I see where you're coming from but it was just a quick and simple fix until someone else wrote or posted an exact script for it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12294">Sane</a> — Sat Jun 14, 2014 6:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2014-06-10T09:31:56-04:00</updated>

		<published>2014-06-10T09:31:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102895#p102895</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102895#p102895"/>
		<title type="html"><![CDATA[a simple topic script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102895#p102895"><![CDATA[
Sorry Sane, but replying with a server-side potential option is a bad answer imho.<br><br>@gamer12: here is a small example of script, without securities or any improved check.<div class="codebox"><p>Code: </p><pre><code>bind pub o|o "!tadd" topic:appendbind bub o|o "!tdel" topic:remove# Appends a text to the current topicproc topic:append {nick uhost handle chan text} {   set topic "[topic $chan] $text"   putserv "TOPIC $chan :$topic"   return 0}# Removes a text from a topic, whenever the text# is located in the topicproc topic:remove {nick uhost handle chan text} {   set topic [topic $chan]   regsub -- $text $topic "" topic   putserv "TOPIC $chan :[string trim $topic]"   return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jun 10, 2014 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sane]]></name></author>
		<updated>2014-06-08T00:39:59-04:00</updated>

		<published>2014-06-08T00:39:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102893#p102893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102893#p102893"/>
		<title type="html"><![CDATA[Re: a simple topic script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102893#p102893"><![CDATA[
Hi, gamer12. <br><br>Sorry that I cannot be of more help than this but: <br><br>On certain networks I'm pretty sure that there's an 'append' and a 'prepend' topic command which can do some of what you wanted. For e.g., '.TOPICAPPEND' or is it '.APPENDTOPIC', regardless-- if you use one of those commands with 'text' after it, it would add that 'text' at the end of the current topic without changing or deleting anything that's currently there already; it just adds to it. The same thing applies to "prepend" except it would add that text to the beginning of the current topic without changing or deleting anything that's currently there.<br><br>Some examples:<br><br>- .appendtopic TextHere<br>- .topicappend TextHere<br>- .append topic TextHere<br>- .topic append TextHere<br><br>The bind could actually be: a '.' or an '!', or even an '@' symbol; who knows? It really depends on the network.<br><br>- .prependtopic TextHere<br>- .topicprepend TextHere<br>- .prepend topic TextHere<br>- .topic prepend TextHere<br><br>Now, I'm not 100% percent sure which combination is the correct one but I know one of them will work.<br><br>Hope this helps somewhat.<br><br>You should check out the ChanServ/NickServ/BotServ/HostServ etc.. etc.. commands of the network(s) that you frequent to find out more information on which are available to you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12294">Sane</a> — Sun Jun 08, 2014 12:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamer12]]></name></author>
		<updated>2014-03-28T14:37:11-04:00</updated>

		<published>2014-03-28T14:37:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102710#p102710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102710#p102710"/>
		<title type="html"><![CDATA[a simple topic script!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102710#p102710"><![CDATA[
Hello fellow eggdroppers!<br><br>Need a script which adds and deletes selected text on topic!<br><br>for example,<br><br>If I type !add XYZ - the bot changes/adds the topic without deleting anything which is still on the topic and announces that 'XYZ is on the topic now'<br><br>and I type !del XYZ - it deletes only the text i asked for and announces 'XYZ has been removed'.<br><br>and only users with +o status on eggdrop can do that.<br><br>any help will be appreciated. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12058">gamer12</a> — Fri Mar 28, 2014 2:37 pm</p><hr />
]]></content>
	</entry>
	</feed>
