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

	<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>2013-01-30T12:35:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-30T12:35:06-04:00</updated>

		<published>2013-01-30T12:35:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100846#p100846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100846#p100846"/>
		<title type="html"><![CDATA[Help with script - MassHighlight]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100846#p100846"><![CDATA[
Try this code i corrected some things<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !masshl pub_masshlproc pub_masshl {nick mask hand channel text} {set nicklist [chanlist $channel]if {([isop $nick $channel]) || ([ishalfop $nick $channel])} {putserv "privmsg $channel :Chanlist: $nicklist"} else {putserv "privmsg $channel :&lt;$nick&gt; Only opers can use this command!!!"}}</code></pre></div>And about the rand code ( [expr {int(rand()*100)}]  ) works for me and i am using tcl8.5 and eggdrop v1.6.20<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Wed Jan 30, 2013 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r00terr0r]]></name></author>
		<updated>2012-08-22T17:11:13-04:00</updated>

		<published>2012-08-22T17:11:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=99922#p99922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=99922#p99922"/>
		<title type="html"><![CDATA[Help with script - MassHighlight]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=99922#p99922"><![CDATA[
I wrote some script for masshl, and work perfect on most eggdrops, but doesnt work on one eggdrop.<br>Its on same version, and on same machine hosted.<br>Here is code: <div class="codebox"><p>Code: </p><pre><code>bind pub - !masshl pub_masshlset nicklist ""; proc pub_masshl {nick mask hand channel text} {set nicklist [chanlist $channel]if {([isop $nick $channel]) || ([ishalfop $nick $channel])} {putserv "privmsg $channel \002$text\002 $nicklist" } else { putserv "privmsg $channel &lt;$nick&gt; Only opers can use this command!!!" }}</code></pre></div>Doesnt work <strong class="text-strong">chanlist</strong> command, also doesnt work [expr {int(rand()*100)}] (to take random number) and some other commands.<br><br>Can anyone help me with this problem?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12063">r00terr0r</a> — Wed Aug 22, 2012 5:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
