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

	<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>2004-03-08T22:22:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2004-03-08T22:22:07-04:00</updated>

		<published>2004-03-08T22:22:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34372#p34372</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34372#p34372"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34372#p34372"><![CDATA[
okay i've seem to hit a snag, i got the !list to come up in the channel, the bot see's all the respondses, but ummm..... doesn't voice... guess I messed something up here... there's the code<br><br>bind time - "00 *" do:list<br>bind time - "30 *" do:list<br><br>bind notc "*" fvoice:pool<br>set fvoice:pool:list {<br>"*File Server Online*"<br>"*FTP Online*"<br>"*File Servers Online*"<br>"*file server online*"<br>"*(*«*G*x*S*erve*»*)*"<br>"*(TDCC) Trigger*"<br>"*««*Server*»»*Trigger*"<br>"*Fserve Active*"<br>}<br>bind pub n !check do:list<br><br>proc do:list {min hour day month year} {<br>putserv "PRIVMSG #chan :\002Now CHecking for New Servers\002"<br>putserv "PRIVMSG #chan :!list"<br>}<br>proc fvoice:pool {nick uhost hand chan arg} {<br>global fvoice:pool:list<br>foreach fvoice:pool $fvoice:pool:list {<br>if {[string match -nocase $fvoice:pool $arg]} {<br>pushmode #chan +v $nick}<br>}<br>}<br>}<br><br>i swear it feels like I went back to n00bie level on tcl.. it sucks when you can't remember, medication does that to you i guess... anyways.. I'm thinking of adding a little bit of error checking, but i kinda want to get this working first.  thanks to anyone and everyone that can help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Mon Mar 08, 2004 10:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2004-01-23T05:35:47-04:00</updated>

		<published>2004-01-23T05:35:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32805#p32805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32805#p32805"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32805#p32805"><![CDATA[
sorry its taken me awhile to post back, i haven't been able to get online much.<br><br><br>So what your suggestion should be able to take out things like [], and numbers and such as the mirc color codes. if they are stripped?<br><br>I have noticed when it picks up sutff within [] it will kill the bot, cause it things its a string command.  would just make another little proc to handle something like this work best or no ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Fri Jan 23, 2004 5:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-01-07T09:23:11-04:00</updated>

		<published>2004-01-07T09:23:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32304#p32304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32304#p32304"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32304#p32304"><![CDATA[
<blockquote class="uncited"><div>okay thanks for the heads up on the mistakes there.  so every 15 mines would be something like<br><br>bind time - "00 *"<br>bind time - "15 *"<br>bind time - "30 *"<br>bind time - "40 *"<br><br>and if i was going to be every 30mins it would be<br><br>bind time - "00 *"<br>bind time - "30 *"<br><br>correct ?</div></blockquote>Yes, but difference between 30 and 40 is not 15 minutes <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><blockquote class="uncited"><div>Also the pool option, would making the pool option involve making a few other set procs to handle spaces,nubmers, and signs like []?<br><br>maybe something like<br><br>set fvoice:pool {<br>{File Server*Trigger*}<br>}<br><br>proc fvoice:pool {nick uhost hand chan arg} {<br>foreach fvoice:pool $::fvoice:pool<br>if [{string match -nocase $fvoice:pool $arg]}<br><br>or something like that ? or would I need would i need something else?</div></blockquote>you can bind notc matching "*"<br>make a list for example:<blockquote class="uncited"><div>set fvoice_list { <br> "trigger*1*"<br> "trigger*2*"<br>}</div></blockquote>and use this code:<div class="codebox"><p>Code: </p><pre><code>proc fvoice:pool {nick uhost hand chan arg} {global fvoice_listforeach fvoice_pool $fvoice_list { if {[string match -nocase $fvoice_pool $arg]} {  pushmode #chan +v $nick  } }}</code></pre></div>if the notice is for the channel, you can use $chan.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jan 07, 2004 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2004-01-07T00:58:18-04:00</updated>

		<published>2004-01-07T00:58:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32293#p32293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32293#p32293"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32293#p32293"><![CDATA[
okay thanks for the heads up on the mistakes there.  so every 15 mines would be something like<br><br>bind time - "00 *"<br>bind time - "15 *"<br>bind time - "30 *"<br>bind time - "40 *"<br><br>and if i was going to be every 30mins it would be<br><br>bind time - "00 *"<br>bind time - "30 *"<br><br>correct ?<br><br><br>Also the pool option, would making the pool option involve making a few other set procs to handle spaces,nubmers, and signs like []?<br><br>maybe something like<br><br>set fvoice:pool {<br>{File Server*Trigger*}<br>}<br><br>proc fvoice:pool {nick uhost hand chan arg} {<br>foreach fvoice:pool $::fvoice:pool<br>if [{string match -nocase $fvoice:pool $arg]}<br><br>or something like that ? or would I need would i need something else?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Wed Jan 07, 2004 12:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2004-01-06T15:21:51-04:00</updated>

		<published>2004-01-06T15:21:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32275#p32275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32275#p32275"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32275#p32275"><![CDATA[
<blockquote class="uncited"><div>bind time - ?0" fvoice:list</div></blockquote>if this is supposed to trigger fvoice:list every 10mins, then what you meant was:<div class="codebox"><p>Code: </p><pre><code>bind time - "?0 *" fvoice:list</code></pre></div>and <blockquote class="uncited"><div>proc voice {nick uhost hand chan args} { <br>{ pushmode #blah +v $nick } <br>}</div></blockquote>should be<div class="codebox"><p>Code: </p><pre><code>proc voice {nick uhost hand chan arg} {  pushmode #blah +v $nick}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jan 06, 2004 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2004-01-06T01:27:43-04:00</updated>

		<published>2004-01-06T01:27:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32249#p32249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32249#p32249"/>
		<title type="html"><![CDATA[Fserv Voicing script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32249#p32249"><![CDATA[
okay, this is what my friend is wanting, a fserve voicing script that does time inervals... but I had helped me a little on this, and here is what we came up with so far... I'm thinking that making a *Pool* to help with anything that would have [] in them that would kill the bot. I'm sure useing \[\blah\]\ would fix it.. but there has to be a simplier way to do that. I did a search to try to find some other ways.. didn't really find anything that helped me. cause it looked that a couple have some what of the same code I was using. guess its just simple to do it a easy way.. I know the rules say no info on "XDCC" stuff. but he wants to search the output of that, and voice it as well.. I told him i could be more annoying than he wants to admit. But I'm sure I can help him figure that part out later. Here is what he came up with.<br><br>bind time - ?0" fvoice:list<br>bind notc * "*File Server*Trigger*" voice<br><br>proc fvoice:list {min hour day month year} {<br>   putserv "PRIVMSG #blah :Now Checking for new Servers"<br>   putserv "PRIVMSG #blah :!list"<br>}<br>proc voice {nick uhost hand chan args} {<br>   { pushmode #blah +v $nick }<br>}<br><br>just a simple little code.. but he wants to check for cheaters as well.  I'm not a big fan of stuff like this, but i told him I would ask around for some help.  <br><br>Thanks for any ideas you can provide.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Tue Jan 06, 2004 1:27 am</p><hr />
]]></content>
	</entry>
	</feed>
