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

	<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>2003-05-16T15:34:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2003-05-16T15:34:58-04:00</updated>

		<published>2003-05-16T15:34:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20288#p20288</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20288#p20288"/>
		<title type="html"><![CDATA[User On Channel (View At Website)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20288#p20288"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>[lrange [chanlist $usoc_chan] 0 end]</code></pre></div>change this to<div class="codebox"><p>Code: </p><pre><code>[join [lrange [chanlist $usoc_chan] 0 end]]</code></pre></div></div></blockquote>Dear Papillon,<br><br>I've changed it but still doesn't work... I need it to fit in inline frame as seen on <a href="http://rs1.risingnet.net/~fzay/usertest.htm" class="postlink">http://rs1.risingnet.net/~fzay/usertest.htm</a><br><br>So, it require nick list to be in vertical format, rite?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Fri May 16, 2003 3:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-05-16T15:08:40-04:00</updated>

		<published>2003-05-16T15:08:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20284#p20284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20284#p20284"/>
		<title type="html"><![CDATA[User On Channel (View At Website)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20284#p20284"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[lrange [chanlist $usoc_chan] 0 end]</code></pre></div>change this to<div class="codebox"><p>Code: </p><pre><code>[join [lrange [chanlist $usoc_chan] 0 end]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri May 16, 2003 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2003-05-16T14:11:17-04:00</updated>

		<published>2003-05-16T14:11:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20281#p20281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20281#p20281"/>
		<title type="html"><![CDATA[User On Channel (View At Website)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20281#p20281"><![CDATA[
<blockquote class="uncited"><div>One small sugestion, set it's entire path like: /home/bla/web/myhtml.php in the set usoc_htmlfile. This should help a bit. Also try placing some putlog's to see where it stucks.</div></blockquote>Thanks Caesar, its work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I've fixed the script as below;<br><br>#USER ON CHANNEL<br><br>set usoc_ver "1.01 Beta"<br>set usoc_htmlfile "dir/dir/username/public_html/userlist.php"<br>set usoc_chan "#kampung"<br>set usoc_pg_title "User On $usoc_chan"<br>set usoc_pg_heading "User On $usoc_chan"<br>set usoc_refresh_time "6"<br>set usoc_pgbg_color "#FFFFFF"<br>set usoc_topmgn "0"<br>set usoc_leftmgn "0"<br>set usoc_font_color "#808080"<br>set usoc_font_face "Tahoma"<br>set usoc_font_size "2"<br><br>proc usoc:make {} {<br>  global usoc_htmlfile usoc_chan usoc_pg_title usoc_pg_heading usoc_refresh_time usoc_pgbg_color usoc_topmgn usoc_leftmgn usoc_font_color usoc_font_face usoc_font_size<br>  set usoc_file [open $usoc_htmlfile w]<br>  puts $usoc_file "&lt;html&gt;\n&lt;head&gt;\n &lt;title&gt;$usoc_pg_title&lt;/title&gt;\n &lt;meta http-equiv="Content-Language" content="en-us"&gt;\n &lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1252"&gt;\n &lt;meta http-equiv="Refresh" content="$usoc_refresh_time"&gt;\n &lt;style&gt;BODY{scrollbar-arrow-color: #004080;scrollbar-3dlight-color: #BDD0EE;scrollbar-highlight-color: #004080;scrollbar-face-color: #BDD0EE;scrollbar-shadow-color: #004080;scrollbar-darkshadow-color: #BDD0EE;scrollbar-track-color: #DADADA;}&lt;/style&gt;\n&lt;/head&gt;"<br>  puts $usoc_file "&lt;body topmargin="$usoc_topmgn" leftmargin="$usoc_leftmgn" bgcolor="$usoc_pgbg_color" text="$usoc_font_color" style="font-family: $usoc_font_face; size: $usoc_font_size"&gt;\n"<br>  puts $usoc_file "&lt;div align="center"&gt;\n"<br>  puts $usoc_file "&lt;center&gt;\n &lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%"&gt;\n"<br>  puts $usoc_file "&lt;td width="100%" align="center" valign="top"&gt;\n &lt;font size="$usoc_font_size" face="usoc_font_face"&gt;\n&lt;b&gt;$usoc_pg_heading&lt;/font&gt;&lt;/b&gt;&lt;font&gt;&lt;br&gt;\n"<br>  puts $usoc_file "&lt;font size="$usoc_font_size" face="$usoc_font_face"&gt;\n[lrange [chanlist $usoc_chan] 0 end] \[[llength [chanlist $usoc_chan]]\]&lt;/font&gt;&lt;/td&gt;\n"<br>  puts $usoc_file "&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&lt;/div&gt;\n"<br>close $usoc_file<br>return 1<br>}<br><br>utimer 2 usoc:make<br><br>putlog "usoc v$usoc_ver by blood_x &lt;<a href="mailto:irc@ykznet.com">irc@ykznet.com</a>&gt; loaded."<br><br>Seems there's nothing error, but how can I set up nicklist to be in vertical format. For example, the script will return into html as below;<br><br>User On #mychannel<br>Nick1<br>Nick2<br>Nick3<br>Nick4<br>Nick etc<br>Nick etc...<br><br>In other word, the table will automatically arange user nick in vertical format instead of nick1 nick2 nick3 nick4 nick_etc1 nick_etc2 nick_etc...... as seen on my web <a href="http://rs1.risingnet.net/~fzay/userlist.php" class="postlink">http://rs1.risingnet.net/~fzay/userlist.php</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Fri May 16, 2003 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-16T05:59:19-04:00</updated>

		<published>2003-05-16T05:59:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20245#p20245</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20245#p20245"/>
		<title type="html"><![CDATA[User On Channel (View At Website)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20245#p20245"><![CDATA[
One small sugestion, set it's entire path like: /home/bla/web/myhtml.php in the set usoc_htmlfile. This should help a bit. Also try placing some putlog's to see where it stucks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 16, 2003 5:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2003-05-15T16:42:44-04:00</updated>

		<published>2003-05-15T16:42:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20230#p20230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20230#p20230"/>
		<title type="html"><![CDATA[User On Channel (View At Website)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20230#p20230"><![CDATA[
Dear All,<br><br>Anyone can review and fixed this script to be working. I've try it, but failed to work on my web server. When I opened that page, nothing is wrote in html. Furthermore, how can I set up the entire user on channel will be in vertical format i.e. <br><br>User On #mychannel<br>User1<br>User2<br>User3<br>User......<br><br>Beta Script As Below;<br><br>#USER ON CHANNEL<br><br>set usoc_ver "1.00 Beta"<br>set usoc_htmlfile "../public_html/userlist.php"<br>set usoc_chan "#kampung"<br>set usoc_pg_title "User On $usoc_chan"<br>set usoc_pg_heading "User On $usoc_chan"<br>set usoc_refresh_time "6"<br>set usoc_pgbg_color "#FFFFFF"<br>set usoc_topmgn "0"<br>set usoc_leftmgn "0"<br>set usoc_font_color "#808080"<br>set usoc_font_face "Tahoma, Sans-serif"<br>set usoc_font_size "2"<br><br>proc usoc:make {} {<br>  global usoc_htmlfile usoc_chan usoc_pg_title usoc_refresh_time usoc_pgbg_color usoc_topmgn usoc_leftmgn usoc_font_color usoc_font_face usoc_font_size<br>  set usoc_file [open $usoc_htmlfile w]<br>  puts $usoc_file "&lt;html&gt;\n&lt;head&gt;\n &lt;title&gt;$usoc_pg_title&lt;/title&gt;\n &lt;meta http-equiv=\"Content-Language\" content=\"en-us\"&gt;\n &lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\"&gt;\n &lt;meta http-equiv=\"Refresh\" content=\"$usoc_refresh_time\"&gt;\n &lt;style&gt;BODY{scrollbar-arrow-color: #004080;scrollbar-3dlight-color: #BDD0EE;scrollbar-highlight-color: #004080;scrollbar-face-color: #BDD0EE;scrollbar-shadow-color: #004080;scrollbar-darkshadow-color: #BDD0EE;scrollbar-track-color: #DADADA;}&lt;/style&gt;\n&lt;/head&gt;"<br>  puts $usoc_file "&lt;body topmargin=\"$usoc_topmgn\" leftmargin=\"$usoc_leftmgn\" bgcolor=\"$usoc_pgbg_color\" text=\"$usoc_font_color\" style=\"font-family: $usoc_font_face; size: $usoc_font_size\"&gt;\n"<br>  puts $usoc_file "&lt;div align=\"center\"&gt;\n"<br>  puts $usoc_file "&lt;center&gt;\n &lt;table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" width=\"100%\"&gt;\n"<br>  puts $usoc_file "&lt;td width=\"100%\" align=\"center\" valign=\"top\" style=\"font-family: $usoc_font_face; font-size: $usoc_font_size\"&gt;\n &lt;b&gt;$usoc_pg_heading&lt;/b&gt;&lt;br&gt;\n"<br>  puts $usoc_file "[lrange [chanlist $usoc_chan] 0 end] \[[llength [chanlist $usoc_chan]]\]&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&lt;/div&gt;&lt;/body&gt;&lt;html&gt;\n"<br>close $usoc_file<br>return 1<br>}<br><br>utimer 2 usoc:make<br><br>putlog "usoc v$usoc_ver by blood_x &lt;<a href="mailto:irc@ykznet.com">irc@ykznet.com</a>&gt; loaded."<br><br>Thanks for your support and commitments.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Thu May 15, 2003 4:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
