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

	<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>2023-05-27T03:41:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-05-07T13:50:17-04:00</updated>

		<published>2023-05-07T13:50:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111935#p111935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111935#p111935"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111935#p111935"><![CDATA[
i guess your right CrazyCat altho ive tested the command with colors in front of it and it recognized it fine and i didnt load a color stripper script as i made sure thats unloaded first unless im mistaken but so far it seems bind pub can be used with color codes as well<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun May 07, 2023 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-05-07T10:14:57-04:00</updated>

		<published>2023-05-07T10:14:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111924#p111924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111924#p111924"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111924#p111924"><![CDATA[
No, the regsub works on the text <strong class="text-strong">after</strong> the command, and $text is not used anywhere.<br>If someone typs "!help i'm in trouble", $text contains "i'm in trouble".<br><br>But if someone uses color before !help, the bind won't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun May 07, 2023 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-07T08:59:29-04:00</updated>

		<published>2023-05-07T08:59:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111921#p111921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111921#p111921"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111921#p111921"><![CDATA[
Thanks to both !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun May 07, 2023 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-05-07T08:51:54-04:00</updated>

		<published>2023-05-07T08:51:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111920#p111920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111920#p111920"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111920#p111920"><![CDATA[
oh i thought in the case of the command used in colors to strip the colors to recognize the command i wasnt sure if the bind pub already did that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun May 07, 2023 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-07T08:12:41-04:00</updated>

		<published>2023-05-07T08:12:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111919#p111919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111919#p111919"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111919#p111919"><![CDATA[
Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun May 07, 2023 8:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-05-07T08:07:38-04:00</updated>

		<published>2023-05-07T08:07:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111918#p111918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111918#p111918"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111918#p111918"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set helpchan "#help"bind pub -|- "!help" sapubhelpproc sapubhelp {nick uhost handle chan text} {   if {![string match -nocase $chan $::helpchan] &amp;&amp; ![onchan $nick $::helpchan]} {      putserv "SAJOIN $nick $::helpchan"   }}</code></pre></div>Just change #help to feat your desired hel channel.<br><br>I made a double verification (just for example) : the channel where the comman is typed must not be the destination chan and the user must not be on the chan.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun May 07, 2023 8:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-07T06:39:21-04:00</updated>

		<published>2023-05-07T06:39:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111915#p111915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111915#p111915"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111915#p111915"><![CDATA[
You have a better way, im just asking <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun May 07, 2023 6:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-05-07T06:36:13-04:00</updated>

		<published>2023-05-07T06:36:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111913#p111913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111913#p111913"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111913#p111913"><![CDATA[
What is the interest of the regsub about $text ? Using resources ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun May 07, 2023 6:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-07T03:44:05-04:00</updated>

		<published>2023-05-07T03:44:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111910#p111910</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111910#p111910"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111910#p111910"><![CDATA[
I'll give that a go, thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun May 07, 2023 3:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-05-06T16:40:48-04:00</updated>

		<published>2023-05-06T16:40:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111909#p111909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111909#p111909"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111909#p111909"><![CDATA[
i added a check if nick is already on the support channel or not for this to work the eggdrop has to be on the support channel as well to check if the nick who requested help is already sajoined there<br><br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !help Pub:Sajoin:SupportChanproc Pub:Sajoin:SupportChan {nick host hand chan text} {  set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }]   set SupChan #SupChan  if {![onchan $nick $SupChan]} { putnow "SAJOIN $nick $SupChan" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat May 06, 2023 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-06T11:36:08-04:00</updated>

		<published>2023-05-06T11:36:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111908#p111908</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111908#p111908"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111908#p111908"><![CDATA[
<blockquote class="uncited"><div>You can possibly irritate a user, by forcing them to join a channel. </div></blockquote>Then they should not type !help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sat May 06, 2023 11:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2023-05-06T11:32:35-04:00</updated>

		<published>2023-05-06T11:32:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111907#p111907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111907#p111907"/>
		<title type="html"><![CDATA[Re: force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111907#p111907"><![CDATA[
<blockquote class="uncited"><div>...<br>then the bot should make the user join a support channel</div></blockquote><br>This would require that the bot itself is a Network Administrator, or something like that.   That is:  it would have the privilege of being able to force a user into a channel.<br><br>Also, beware.  You can possibly irritate a user, by forcing them to join a channel.<br><br>If the bot is such,  then I think it would be possible to do a script like this.   It might not be easy for the scripter to test it though,  not without having such a bot to test it on.<br><br>In the meantime, here is an idea to consider :<br><br>Check out this script:<br><a href="http://tclarchive.org/search.php?str=holm+news&amp;cb1=t&amp;cb2=a&amp;cb3=d&amp;sub.x=17&amp;sub.y=13" class="postlink">http://tclarchive.org/search.php?str=ho ... 7&amp;sub.y=13</a><br><br>All it does, is read the text of a file that you type up, to the channel, on command.<br>Since it is reading a plain text file, that makes it very easy to change the text to be displayed.  <br>Just put in the file something like:<blockquote class="uncited"><div>Hello.   Please join #someChanName and post your question there.  That's the channel for help.   </div></blockquote>or whatever message that you wish to convey to the user that did  !help   .<br><br>I've used this file over the years, for this very purpose.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>It's a simple script.   If you need to edit it for some tweak that you might like, it shouldn't be too difficult to figure out.<br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat May 06, 2023 11:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2023-05-27T03:41:01-04:00</updated>

		<published>2023-05-06T10:15:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111905#p111905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111905#p111905"/>
		<title type="html"><![CDATA[[SOLVED] Force join channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111905#p111905"><![CDATA[
HI,<br><br>No clue if someone allready requested something like this but im looking for a script that doing the following :<br><br>user types : !help<br>then the bot should make the user join a support channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sat May 06, 2023 10:15 am</p><hr />
]]></content>
	</entry>
	</feed>
