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

	<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>2010-10-26T23:59:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SomeoneElse]]></name></author>
		<updated>2010-10-26T23:59:49-04:00</updated>

		<published>2010-10-26T23:59:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94878#p94878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94878#p94878"/>
		<title type="html"><![CDATA[script to request bogustrivia bot ignores a streaking player]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94878#p94878"><![CDATA[
Message sent <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Just some more information for anyone else who may be reading and thinking this isn't quite right. This is actually just a measure to try and keep all our regular chatters happy and wanting to stay in our channel.<br>The whole issue has been openly discussed in the room and messages have been added to the bogus script, warning that lengthy streaks by any one player may mean they could be ignored by the bot for a short period. At the moment the ignore has been set to 60secs which is long enough for at least one other person to grab an answer. <br>I am sure all triviaholics will understand <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=11393">SomeoneElse</a> — Tue Oct 26, 2010 11:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-10-26T09:19:29-04:00</updated>

		<published>2010-10-26T09:19:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94872#p94872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94872#p94872"/>
		<title type="html"><![CDATA[Re: another thought..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94872#p94872"><![CDATA[
<blockquote class="uncited"><div>Ok -  well the stall script is working fine for me as it is - thanks again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>That's great!<br>You're welcome.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div> The only thing is that while we have quite a few ops, there are still periods of the day when the room isn't opped or the ops are idle (or asleep). And of course those are the times when the main offender seems to be playing now.</div></blockquote>"now".  heheheeh<br>He reacted, eh?    Sounds like you had an effect on him.  <br>In a way, it is kind of funny.<br><blockquote class="uncited"><div>Just an idea - but could a different bot see that someone "has won x in a row" and then issue the !stall msg to the triviabot? We have a couple of bots languishing without jobs to do as it happens - so this could give them a reason for existing. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Instead of replying with a simple "Yes",  I'll be safe and say:<br>Probably.<br><br>What we would need, is the exact text.   It might be best to see a section of log, that contains examples.   (The log from the trivia bot wouldn't do it... must be from either your client, or another un-involved bot)<br><br>Then, there are other possibilities too.  Depends on what is available, and your assessment of those options, as to what you'd like best.<br><br>Off the top of my head, some ircd's offer extended bans.  Perhaps something could be done with them...   a ban that does not kick the user, but silences him.  You'd have to check into it, and see what is available there to work with.<br>With this though, he would see it applied, and removed.<br><br>With what you have now, he doesn't see it.   <br>By the way, has he questioned it, or figured out what is happening to him?<br><br>If the trivia bot produces a unique message, we can probably have another bot watch for it.  I assume it will include the 'offender's' nick, and that will help make it unique.   If we can bind to it, with no chance of false triggering,   then sure -  we can have the second bot send a /msg to the first bot.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>If you prefer, you can PM me here, with a section of log.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Oct 26, 2010 9:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SomeoneElse]]></name></author>
		<updated>2010-10-26T08:05:36-04:00</updated>

		<published>2010-10-26T08:05:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94871#p94871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94871#p94871"/>
		<title type="html"><![CDATA[another thought..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94871#p94871"><![CDATA[
Ok -  well the stall script is working fine for me as it is - thanks again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> The only thing is that while we have quite a few ops, there are still periods of the day when the room isn't opped or the ops are idle (or asleep). And of course those are the times when the main offender seems to be playing now.<br><br>Just an idea - but could a different bot see that someone "has won x in a row" and then issue the !stall msg to the triviabot? We have a couple of bots languishing without jobs to do as it happens - so this could give them a reason for existing. <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=11393">SomeoneElse</a> — Tue Oct 26, 2010 8:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SomeoneElse]]></name></author>
		<updated>2010-10-21T16:40:46-04:00</updated>

		<published>2010-10-21T16:40:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94826#p94826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94826#p94826"/>
		<title type="html"><![CDATA[Many thanks:)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94826#p94826"><![CDATA[
Thanks so much for this - wasn't expecting such a quick reply. It looks great to me and I'll give it a go this evening. I hadn't even thought about the bot not "seeing" its own text - which makes sense of course. <br><br>The manual setting is probably just what we need anyway - will allow others to have a bit of fun in quiet times and streak to their hearts content. Other ops have (or will have) enough flags to do this. I was just reluctant to add anyone else as masters as this particular bot is a friend's baby and I did't want to stuff it up in any way.<br><br>Thanks again - will reply again as soon as we have tested it.<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11393">SomeoneElse</a> — Thu Oct 21, 2010 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-10-21T13:52:26-04:00</updated>

		<published>2010-10-21T13:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94823#p94823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94823#p94823"/>
		<title type="html"><![CDATA[Re: script to request bogustrivia bot ignores a streaking pl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94823#p94823"><![CDATA[
<blockquote class="uncited"><div>...<br>So ideally, when the bot sees "XYZ has won 6 in a row!" it ignores XYZ for a minute. Just enough time for others to get an answer or two in.</div></blockquote>But, if "XYZ has won 6 in a row!" was said by the bot, I seem to recall that the bot doesn't 'see' what it says itself.<br><br>I have a couple ideas though, but unfortunately am short on time at the moment, to explore them.<br><br>This might be fun to play around with though, for now.<br>Not at all sure if it will help you or not.  It is not automatic.  <br>A user with the o flag in your bot can send a /msg to the bot, and have the bot ignore a given user's nick.<br>Ignore does expire automatically though.<br><br><div class="codebox"><p>Code: </p><pre><code>#set your trivia channel nameset trivchan "#channelname"#set stall time (in seconds) hereset stalltime "20"bind msg o "!stall" stallplayerproc stallplayer {nick uhost handle text} {global trivchan stalltimeif {![onchan $text $trivchan]} {putserv "privmsg $nick :$text is not on channel $trivchan"return         }newignore *!*[getchanhost $text $trivchan] $nick "Stalling his play" 5utimer $stalltime [list killignore *!*[getchanhost $text $trivchan] ]}</code></pre></div>The trailing "5" on the newignore line, isn't necessary.  It is left over from when I experimented a bit.  It would be a fail-safe though... in that the new ignore would expire in 5 minutes, even if the utimer failed somehow.<br><br>This little script surely could use improvements.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>It is just something quick.<br><br>With a test or two, it worked.<br><br>Give it a try.  A user with +o in your bot can send:<div class="codebox"><p>Code: </p><pre><code>/msg botnick !stall nick_to_stall</code></pre></div>And set an ignore, for the number of seconds you've configured.   <br><br>If they abuse it, it could be a really rotten thing.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Perhaps we should re-do the script soon, and allow you to configure it to only work for one nick?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Oct 21, 2010 1:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SomeoneElse]]></name></author>
		<updated>2010-10-21T10:05:30-04:00</updated>

		<published>2010-10-21T10:05:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94821#p94821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94821#p94821"/>
		<title type="html"><![CDATA[script to request bogustrivia bot ignores a streaking player]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94821#p94821"><![CDATA[
I know it's a strange request. Here's the problem:<br><br>-We have a reasonably popular, established channel with a steady following of regular trivia players and chatters.<br>-We also have a slightly obsessed and unnaturally fast player who thinks nothing of getting over a 100 answers correct in a row - and in the process, clearing the room of other players completely.<br>-We're at the stage now where others enter the room, see the streaker playing, and part again. <br><br>To save the room I am hoping we can organise a script that could quietly ignore streakers for just a minute or so after they get a certain number of correct answers. Room messages have been posted warning this may happen - and I have set .+ignore manually a couple of times via partyline. I don't really want to give bot access to other ops at this time though.<br><br>So ideally, when the bot sees "XYZ has won 6 in a row!" it ignores XYZ for a minute. Just enough time for others to get an answer or two in.<br><br>Don't know if it's possible, but it would also be great if our ops could enable or disable the script via a msg to the bot or other command. There are times when people are genuinely playing on their own simply because there is nobody else around, and that's fine.<br><br>So now this is me blushing  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  for asking for so much ...<br><br>and having a little cry  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  please help save our room from turning into a one player hangout (I read on the sticky note that crying and blushing could help ...)<br><br>and saying thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  to anyone who reads this and considers helping.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11393">SomeoneElse</a> — Thu Oct 21, 2010 10:05 am</p><hr />
]]></content>
	</entry>
	</feed>
