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

	<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>2007-09-20T13:03:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-20T13:03:05-04:00</updated>

		<published>2007-09-20T13:03:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76072#p76072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76072#p76072"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76072#p76072"><![CDATA[
Contact the author then: <a href="mailto:domsen@domsen.org">domsen@domsen.org</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Sep 20, 2007 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-09-20T12:33:34-04:00</updated>

		<published>2007-09-20T12:33:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76070#p76070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76070#p76070"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76070#p76070"><![CDATA[
and you went to ircnet also?<br>the website is not the only way....<blockquote class="uncited"><div># visit #newsticker@ircnet</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu Sep 20, 2007 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-20T06:27:46-04:00</updated>

		<published>2007-09-20T06:27:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76068#p76068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76068#p76068"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76068#p76068"><![CDATA[
<blockquote class="uncited"><div>step 1, read the information in the script<div class="codebox"><p>Code: </p><pre><code># shoutcast.tcl v1.03 by domsen &lt;domsen@domsen.org&gt; (c)2oo5## comments? bugs? ideas? requests? money? beer?# plz mail me or visit my homepage @ www.domsen.org# visit #newsticker@ircnet</code></pre></div>contacting the author first about modifications would have been the proper things to do</div></blockquote>The site soes not work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> so it's hard to do some researche <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> — Thu Sep 20, 2007 6:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-09-20T00:08:20-04:00</updated>

		<published>2007-09-20T00:08:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76055#p76055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76055#p76055"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76055#p76055"><![CDATA[
step 1, read the information in the script<div class="codebox"><p>Code: </p><pre><code># shoutcast.tcl v1.03 by domsen &lt;domsen@domsen.org&gt; (c)2oo5## comments? bugs? ideas? requests? money? beer?# plz mail me or visit my homepage @ www.domsen.org# visit #newsticker@ircnet</code></pre></div>contacting the author first about modifications would have been the proper things to do<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu Sep 20, 2007 12:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-09-19T22:58:12-04:00</updated>

		<published>2007-09-19T22:58:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76052#p76052</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76052#p76052"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76052#p76052"><![CDATA[
First of all:<br><br>(1) Please indent your code properly, because it is difficult to read.<br>(2) You don't need to split chanlist, since it is already a list.<br>(3) Use a foreach loop and check the isop condition for that nick on the channel, as mentioned by TCL_no_TK<br><br>Try this:<br><div class="codebox"><p>Code: </p><pre><code>proc setdj {nickname djnickname} { global streamip streamport streampass dj ctodjc foreach nicks [chanlist #aliasfm] {  if {[isop $nicks #aliasfm] {   putlog "shoutcast: new dj: $djnickname ($nickname)"   set temp [open "dj" w+]   puts $temp $djnickname   close $temp   set temp [open "djnick" w+]   puts $temp $djnickname   close $temp   if {[status] == "1"} { poststuff privmsg " 12\[4AliasFM12\] $nickname Er nu på som Dj: $djnickname 12\[4AliasFM12\]"   if {$ctodjc == "1"} {    set temp [open "isonline" r]    while {[eof $temp] != 1} {    set zeile [gets $temp]    if {[string first "isonline:" $zeile] != -1 } { set oldisonline $zeile }    if {[string first "curlist:" $zeile] != -1 } { set oldcurlist $zeile }    if {[string first "curhigh:" $zeile] != -1 } { set oldcurhigh $zeile }    if {[string first "cursong:" $zeile] != -1 } { set oldsong $zeile }    if {[string first "bitrate:" $zeile] != -1 } { set oldbitrate $zeile }   }  close $temp  }} else {    putserv "privmsg $nickname :This has not been announced because the radio is currentlfy offline."  } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Sep 19, 2007 10:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-09-19T22:38:48-04:00</updated>

		<published>2007-09-19T22:38:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76049#p76049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76049#p76049"/>
		<title type="html"><![CDATA[RE: add isop to the soutcast.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76049#p76049"><![CDATA[
something like <div class="codebox"><p>Code: </p><pre><code>foreach target [chanlist #mychannel] { if {[isop $target #mychannel]} {  set &lt;something&gt; "$target is an op }}</code></pre></div> i dont think <blockquote class="uncited"><div>if {$djnickname == "" } { set $djnickname $nickname  }</div></blockquote> that should be in there :/ maybe before it would be better.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Wed Sep 19, 2007 10:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-20T10:35:48-04:00</updated>

		<published>2007-09-19T18:35:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76047#p76047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76047#p76047"/>
		<title type="html"><![CDATA[add isop to the soutcast.tcl [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76047#p76047"><![CDATA[
how can i add isop to this script <br>i have tryed but no luck so fare <br><div class="codebox"><p>Code: </p><pre><code>proc setdj {nickname djnickname } {global streamip streamport streampass dj ctodjcforeach nicks [split [chanlist #aliasfm]] {if {[isop $nicks]} { if {$djnickname == "" } { set $djnickname $nickname  }}}putlog "shoutcast: new dj: $djnickname ($nickname)"set temp [open "dj" w+]puts $temp $djnicknameclose $tempset temp [open "djnick" w+]puts $temp $djnicknameclose $tempif { [status] == "1" } { poststuff privmsg " 12\[4AliasFM12\] $nickname Er nu på som Dj: $djnickname 12\[4AliasFM12\]"if { $ctodjc == "1" } {set temp [open "isonline" r]while {[eof $temp] != 1} {set zeile [gets $temp]if {[string first "isonline:" $zeile] != -1 } { set oldisonline $zeile }if {[string first "curlist:" $zeile] != -1 } { set oldcurlist $zeile }if {[string first "curhigh:" $zeile] != -1 } { set oldcurhigh $zeile }if {[string first "cursong:" $zeile] != -1 } { set oldsong $zeile }if {[string first "bitrate:" $zeile] != -1 } { set oldbitrate $zeile }}close $temp}} else {putserv "privmsg $nickname :9this has not been announced because the radio is currentlfy offline." }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Wed Sep 19, 2007 6:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
