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

	<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>2020-07-18T07:11:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[illusionist]]></name></author>
		<updated>2020-07-18T07:11:30-04:00</updated>

		<published>2020-07-18T07:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108751#p108751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108751#p108751"/>
		<title type="html"><![CDATA[Random kick msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108751#p108751"><![CDATA[
Thanks Spike^^<br><br>It works fine ...<br>Thanks once again...!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12853">illusionist</a> — Sat Jul 18, 2020 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2020-07-17T23:28:09-04:00</updated>

		<published>2020-07-17T23:28:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108750#p108750</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108750#p108750"/>
		<title type="html"><![CDATA[Random kick msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108750#p108750"><![CDATA[
Try this...<br><div class="codebox"><p>Code: </p><pre><code>set jCrX "."set jCrXCsNick "ChanServ@services.dal.net"set jCrXLogo "\002\037\0037(\017\00312\u00bb \0031\002j\002a\0034\002D\002u\0031\u00ae \00312\u00ab\0037\002\037)\017"set jCrXkReasonFile "scripts/kReasons.txt"proc getRandomReason {} {  global jCrXkReasonFile  if {![file exists $jCrXkReasonFile]} { return "Go away, your feet stink." }  set openfile [open $jCrXkReasonFile]  set reasons [split [read -nonewline $openfile] \n]  close $openfile  set output [lindex $reasons [rand [llength $reasons]]]  return $output}bind pub o|o ${jCrX}kb kickbanproc kickban {nick host hand chan rest} {  global jCrX jCrXCsNick jCrXLogo  set kbnick [lindex [split $rest] 0]  set kbhost "*!*@[lindex [split [getchanhost $kbnick $chan] @] 1]"  set reason [join [lrange [split $rest] 1 end]]  if {$reason == ""} {  set reason [getRandomReason]  }  if {![botisop $chan]} {    putquick "NOTICE $nick :I appologize, but I am not an Operator on channel: $chan. Your command cannot be perform." ; return 0  }  if {$kbnick == ""} { putquick "NOTICE $nick :${jCrX}kb &lt;nick&gt; \[reason\]" ; return 0 }  if {[matchattr [nick2hand $kbnick] n]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Official Bot Owner, Bot Administrator &amp; Global Operator.)"  } elseif {[matchattr [nick2hand $kbnick] m]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Official Bot Administrator &amp; Global Operator.)"  } elseif {[matchattr [nick2hand $kbnick] o]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Global Operator.)"  } elseif {[isop $kbnick $chan]} {putquick "MODE $chan -o+b $kbnick $kbhost"putquick "KICK $chan $kbnick : $reason $jCrXLogo"  } else {putquick "MODE $chan +b $kbhost"putquick "KICK $chan $kbnick :$reason $jCrXLogo"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Jul 17, 2020 11:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[illusionist]]></name></author>
		<updated>2020-07-17T21:09:49-04:00</updated>

		<published>2020-07-17T21:09:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108749#p108749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108749#p108749"/>
		<title type="html"><![CDATA[Random kick msg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108749#p108749"><![CDATA[
Hello Everyone ....!!<br><br><strong class="text-strong">I have added random kick msg in this script, But i want random kick msg to be saved in a separate text file. I would be grateful if anyone could help.</strong><br><br>Here is the Code<div class="codebox"><p>Code: </p><pre><code>set jCrX "."set jCrXCsNick "ChanServ@services.dal.net"set jCrXLogo "\002\037\0037(\017\00312\u00bb \0031\002j\002a\0034\002D\002u\0031\u00ae \00312\u00ab\0037\002\037)\017"set RndmKckMsg {{A day without smiling is a day wasted.}{I am silent but not blind}{You Don't Know me, You onLy know what i aLLow You to Know}{Don't judge me for my choices when you don't understand my reasons.}{your stupidity outweighs my inteligence} {would have been yo daddy but the dog beat me over the fence }  {get -+@#$&amp;!&amp;$@+-}{apparently you don't learn.... do you? } {thankyou please come again }{that word's a no no, ya do do }{This is a beauty parlour... you appear to have hit all 7 branches on the ugly tree... there is nothing we can do for you. Try the shop next door }{Do you actually think about the **** that falls outta your mouth? Or is is all just random? }{this rom is an all welcome room, but i guess your the exception}  {Have a ride on the short bus?}{don't say i never gave you nothin (swift kick) }{its along walk home so grab your coat , your leaving }{insert own kick message cos your not worht the effort }{Come on in, take a look and enjoy yourself}{Try That One again I'll Make Your SandLe}{my mother gave me life, i gave her the blues, my wife gave me hell i gave her herpies, youve given me nothing so consider this a gift }{I'm reading a book about anti-gravity. It's impossible to put down.}{Where there's a will, there's a relative.}{The worst time to have a heart attack is during a TCL Script Test}{A computer once beat me at PUBG, but it was no match for me at kick}{i Have No Idea How To Convincing Them So I'm trying to confuse them :)}  }bind pub o|o ${jCrX}kb kickbanproc kickban {nick host hand chan rest} {global jCrX botnick jCrXCsNick jCrXLogo RndmKckMsgproc randomline {rest} { return [lindex $rest [rand [llength $rest]]]}set kbnick [lindex $rest 0]set kbhost "*!*@[lindex [split [getchanhost $kbnick $chan] @] 1]"set reason [lrange $rest 1 end]if {$reason == ""} {set reason [randomline $RndmKckMsg]}if {![botisop $chan]} {putquick "NOTICE $nick :I appologize, but I am not an Operator on channel: $chan. Your command cannot be perform." ; return 0}if {$kbnick == ""} {putquick "NOTICE $nick :!kb &lt;nick&gt; \[reason\]" ; return 0}if {[matchattr [nick2hand $kbnick] n]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Official Bot Owner, Bot Administrator &amp; Global Operator.)"} elseif {[matchattr [nick2hand $kbnick] m]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Official Bot Administrator &amp; Global Operator.)"} elseif {[matchattr [nick2hand $kbnick] o]} {putquick "NOTICE $nick :Sorry, you cann't \0034kick \00312$kbnick\017, $kbnick is an Global Operator.)"} elseif {[isop $kbnick $chan]} {putquick "MODE $chan -o+b $kbnick $kbhost"putquick "KICK $chan $kbnick : $reason $jCrXLogo"  } else {putquick "MODE $chan +b $kbhost"putquick "KICK $chan $kbnick :$reason $jCrXLogo"  }}</code></pre></div><strong class="text-strong"> Thanks in Advane !!</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12853">illusionist</a> — Fri Jul 17, 2020 9:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
