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

	<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>2006-01-06T13:09:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-06T13:09:47-04:00</updated>

		<published>2006-01-06T13:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59143#p59143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59143#p59143"/>
		<title type="html"><![CDATA[Help with Hostserv script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59143#p59143"><![CDATA[
The format of your script makes it hard to read, if you wrote that script then you can find the problem easier than anyone else. Follow what's happening in the script and see if you can find out. Also, make sure you don't have some other similar script loaded (or was loaded but you changed the binds and .rehashed which doesn't remove the old script).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 06, 2006 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2006-01-06T12:29:36-04:00</updated>

		<published>2006-01-06T12:29:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59139#p59139</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59139#p59139"/>
		<title type="html"><![CDATA[Help with Hostserv script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59139#p59139"><![CDATA[
sorry<br><br>onjoin the bot will whois the user twice<br>below is the output<blockquote class="uncited"><div>[4:22pm] &lt;~RaM-PaCk&gt; big-r0n your nick is registered and identified use !vhost &lt;vhost&gt;<br>[4:22pm] &lt;~RaM-PaCk&gt; big-r0n your nick is registered and identified use !vhost &lt;vhost&gt;<br>[4:24pm] &lt;&amp;BiG-R0N&gt; !vhost <a href="mailto:something@haha.com">something@haha.com</a><br>[4:24pm] *RaM-PaCk* Your vhost is changed in <a href="mailto:something@haha.com">something@haha.com</a><br>[4:24pm] *RaM-PaCk* Type /msg hostserv on<br>[4:24pm] *RaM-PaCk* Your vhost is changed in <a href="mailto:something@haha.com">something@haha.com</a><br>[4:24pm] *RaM-PaCk* Type /msg hostserv on<br></div></blockquote>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Fri Jan 06, 2006 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-05T20:00:11-04:00</updated>

		<published>2006-01-05T20:00:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59099#p59099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59099#p59099"/>
		<title type="html"><![CDATA[Help with Hostserv script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59099#p59099"><![CDATA[
For example? what's done twice?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 05, 2006 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2006-01-05T18:00:43-04:00</updated>

		<published>2006-01-05T18:00:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59094#p59094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59094#p59094"/>
		<title type="html"><![CDATA[Help with Hostserv script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59094#p59094"><![CDATA[
Hello to start im not sure where I got this script from so I cant give proper credit to the author. The script works fine it opers up and sets the host on command the only niggly thing is that it does everything twice. Ive looked over the thing and cant see whats wrong I was thinking it was something to do with the other language maybe but im a newbie so some help would be great <br><br>Thanks<br><div class="codebox"><p>Code: </p><pre><code>#set this to channelset scan(chan) "#vhost"# Set this to the bot's O-Line username #set oper(username) "*****"# Set this to the bots O-Line password #set oper(password) "********"# Set here the words that are not alowed in the vhost #set dvb_badvhost {"*admin*""*bitch*""*operator*""*ircop*""*FutureForce*""*Future*""*C0mPl3x*""*ComPlex*""*Marro*""*Maro*""*netadmin*""*N3TADM1N*""*H0RR0R*""*NETADMIN*"}## dont change below unless your know what your doing ##bind msg o oper oper-upbind join - "$scan(chan) *" tls:joinbind raw - 307 tls:identbind pub -|- !vhost tls:vhostbind evnt - init-server oper:connectproc oper:connect init-server {putserv "OPER $::oper(username) $::oper(password)"}proc oper-up {nick host chan text} {  global operid operpass owner2  putserv "OPER $::oper(username) $::oper(password)"  putserv "NOTICE $nick : I Opered up"}proc tls:join {nick host hand chan} { global tls_nick tls_ident  set tls_ident "1"  set tls_nick $nick    putserv "WHOIS $nick"  utimer 3 tls:not:ident}proc tls:vhost {nick host hand chan vhost} { global tls_nick tls_ident tls_vhost scan(chan)  if {$chan != "#vhost"} {putserv "NOTICE $tls_nick : Don't Use This Command Outside #vhost"return 0} if {$vhost == ""} { if {$chan == "#vhost"} {putserv "NOTICE $tls_nick : With the command 4!VHOST you can make a vhost."putserv "NOTICE $tls_nick : Do it this way, !vhost This.is.my.vhost.com ."putserv "NOTICE $tls_nick : You can only use this service if you have your nick registered and identified"putserv "NOTICE $tls_nick : For more information type /msg nickserv HELP"putserv "NOTICE $tls_nick : 4  "return 0}putserv "NOTICE $tls_nick : Met het commando 4!VHOST kan u een vhost instellen."putserv "NOTICE $tls_nick : Dit commando kunt u echter alleen gebruiken in #vhost"return 0}  set tls_ident "2"  set tls_vhost [lindex $vhost 0]  set tls_nick $nick    putserv "WHOIS $nick"  utimer 3 tls:not:ident}proc tls:ident {from key args } { global tls_ident tls_nick tls_vhost  set args [join $args]  set nick [string tolower [lindex $args 1]]  set regist [strlwr [lindex [lrange [split $args ":"] 1 end] 0]]  if {$tls_ident == "1" &amp;&amp; $regist == "is a registered nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }      }   putserv "PRIVMSG #vhost :$nick your nick is registered and identified use !vhost &lt;vhost&gt;"   }  if {$tls_ident == "2" &amp;&amp; $regist == "is a registered nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }   }global dvb_badvhostset temp 0foreach i [string tolower $dvb_badvhost] {if {[string match $i [string tolower $tls_vhost]]} {set temp 1  putserv "NOTICE $tls_nick : Your vhost is not changed 3$tls_vhost3"  putserv "NOTICE $tls_nick : Its not a valid vhost 3$tls_vhost3"  return 0}}  putserv "PRIVMSG hostserv : set $tls_nick $tls_vhost"  putserv "PRIVMSG hostserv : set $tls_nick $tls_vhost"  putserv "NOTICE $tls_nick : Your vhost is changed in 3$tls_vhost3"  putserv "NOTICE $tls_nick : Type /msg hostserv on "  }   return 0}proc tls:not:ident {} { global tls_nick putserv "PRIVMSG #vhost :$tls_nick is: is not registered or identified" putserv "PRIVMSG #vhost :Type: 4/MSG nickserv HELP for info how to register and identify you nick."} putlog "vhost was successfully loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Thu Jan 05, 2006 6:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
