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

	<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>2023-04-16T10:40:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-04-16T10:40:56-04:00</updated>

		<published>2023-04-16T10:40:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111838#p111838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111838#p111838"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111838#p111838"><![CDATA[
thanks simo..<br><br><br>for other users this too working fine.<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=20311&amp;highlight=vhost" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ight=vhost</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Sun Apr 16, 2023 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-04-14T04:56:14-04:00</updated>

		<published>2023-04-14T04:56:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111837#p111837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111837#p111837"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111837#p111837"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code> array set colors {white \00300black \00301blue \00302green \00303red \00304brown \00305purple \00306orange \00307yellow \00308lightgreen \00309darkgreen \00310cyan \00311lightblue \00312pink \00313grey \00314lightgrey \00315end \017nocolor \003bold \002underline \037}foreach {color code} [array get colors] { proc $color {} "return $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*"}## 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      if {$chan != "$::scan(chan)"} {      putserv "NOTICE $tls_nick : Don't Use This Command Outside $::scan(chan)"      return 0   } if {$vhost == ""} { if {$chan == "$::scan(chan)"} {   putserv "PRIVMSG $chan : With the command [red]!VHOST [end]  you can make a vhost."   putserv "PRIVMSG $chan : Do it this way, !vhost This.is.my.vhost.com ."   putserv "PRIVMSG $chan : You can only use this service if you have your nick registered and identified"   putserv "PRIVMSG $chan : For more information type /msg nickserv HELP"   return 0   }      putserv "NOTICE $tls_nick : Met het commando [red] !VHOST [end] kan u een vhost instellen.[end]"      putserv "NOTICE $tls_nick : Dit commando kunt u echter alleen gebruiken in $::scan(chan)"      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 identified for this nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }      }   putserv "PRIVMSG $::scan(chan) :$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 "PRIVMSG $::scan(chan)  : Your vhost is not changed [green] $tls_vhost [end]"  putserv "PRIVMSG $::scan(chan) : Its not a valid vhost [green] $tls_vhost [end]"  return 0}}  putserv "PRIVMSG hostserv :set $tls_nick $tls_vhost"  putserv "NOTICE $tls_nick :Your vhost is changed to\: [green] $tls_vhost [end]"  }  return 0}proc tls:not:ident {} { global tls_nick putserv "PRIVMSG $::scan(chan) :$tls_nick is: is not registered or identified" putserv "PRIVMSG $::scan(chan) :Type:[red] /MSG nickserv HELP for info how to register and identify you nick. [end]"} putlog "vhost was successfully loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Apr 14, 2023 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-04-14T03:09:02-04:00</updated>

		<published>2023-04-14T03:09:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111834#p111834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111834#p111834"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111834#p111834"><![CDATA[
Ok, i'll try and give you the feedback soon..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Fri Apr 14, 2023 3:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-04-13T18:16:40-04:00</updated>

		<published>2023-04-13T18:16:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111833#p111833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111833#p111833"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111833#p111833"><![CDATA[
i assume u use the latest release of anope <br><br>u can change this line in hostserv.conf<br><br><a href="https://github.com/anope/anope/blob/2.0/data/hostserv.example.conf#L71" class="postlink">https://github.com/anope/anope/blob/2.0 ... e.conf#L71</a><br><br><br>change to : <br><br><blockquote class="uncited"><div> activate_on_set = true </div></blockquote>and rehash anope on irc as services root with command<br><blockquote class="uncited"><div> /os reload </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Apr 13, 2023 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-04-13T13:38:35-04:00</updated>

		<published>2023-04-13T13:38:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111832#p111832</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111832#p111832"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111832#p111832"><![CDATA[
using UNREALIRCD + ANOPE (irc.underx.org)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Thu Apr 13, 2023 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-04-13T07:11:14-04:00</updated>

		<published>2023-04-13T07:11:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111831#p111831</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111831#p111831"/>
		<title type="html"><![CDATA[Re: VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111831#p111831"><![CDATA[
<blockquote class="uncited"><div>tested the script and working 100% .. user can request vhost quickly and obtained it..<br><strong class="text-strong"><br>however..</strong><br><br><br>new registered user request a vhost<br><br><strong class="text-strong">!vhost my.only.vhost.requested</strong><br><br>once the user disconnected from the network and login again, and identify with registered user.<br>The user need to request it again, and it is the same thing if you request another vhost and then disconnected from the network the next time you login the old vhost will show.<br><br><br>** if anyone can add from the script to auto identify from the hostserv so that the newly requested vhost will be used.<br><br><br>***Note:<br><br>[18:44] -HostServ- Number  Nick  Vhost  Created<br>[18:44] -HostServ- Displayed 0 records (0 total).<br><br><br>once the user request a vhost, it is not added or displayed in the hostserv..<br><br><br>thank you.</div></blockquote>On wich irc network do u use this and wich services package is used there ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Apr 13, 2023 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-04-12T06:21:43-04:00</updated>

		<published>2023-04-12T06:21:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111828#p111828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111828#p111828"/>
		<title type="html"><![CDATA[Re: VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111828#p111828"><![CDATA[
tested the script and working 100% .. user can request vhost quickly and obtained it..<br><strong class="text-strong"><br>however..</strong><br><br><br>new registered user request a vhost<br><br><strong class="text-strong">!vhost my.only.vhost.requested</strong><br><br>once the user disconnected from the network and login again, and identify with registered user.<br>The user need to request it again, and it is the same thing if you request another vhost and then disconnected from the network the next time you login the old vhost will show.<br><br><br>** if anyone can add from the script to auto identify from the hostserv so that the newly requested vhost will be used.<br><br><br>***Note:<br><br>[18:44] -HostServ- Number  Nick  Vhost  Created<br>[18:44] -HostServ- Displayed 0 records (0 total).<br><br><br>once the user request a vhost, it is not added or displayed in the hostserv..<br><br><br>thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Wed Apr 12, 2023 6:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doc]]></name></author>
		<updated>2007-07-29T14:37:36-04:00</updated>

		<published>2007-07-29T14:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74836#p74836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74836#p74836"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74836#p74836"><![CDATA[
Thankyou Sir_Fz your help was much appreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9184">doc</a> — Sun Jul 29, 2007 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-07-29T13:03:39-04:00</updated>

		<published>2007-07-29T13:03:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74835#p74835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74835#p74835"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74835#p74835"><![CDATA[
The problem is in these 2 lines in proc tls:ident:<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $chan  : Your vhost is not changed 3$tls_vhost3"putserv "PRIVMSG $chan : Its not a valid vhost 3$tls_vhost3"</code></pre></div>by $chan, you probably meant #vhost.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jul 29, 2007 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doc]]></name></author>
		<updated>2007-07-29T12:50:17-04:00</updated>

		<published>2007-07-29T12:50:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74834#p74834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74834#p74834"/>
		<title type="html"><![CDATA[VHOST]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74834#p74834"><![CDATA[
hi guys<br>not up on coding but im trying one of the scripts off your site and seems to work fine as far as setting a vhost but when it comes to not allowing one due to the disalow list it come up with the error in the bot <br><br> Tcl error [tls:ident]: can't read "chan": no such variable<br><br>as i say it works fine as far as setting one but when it come to the words in the badvhost i get that error<br><div class="codebox"><p>Code: </p><pre><code>#set this to channel set 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*" } ## dont change below unless your know what your doing ## bind msg o oper oper-up bind join - "$scan(chan) *" tls:join bind raw - 307 tls:ident bind pub -|- !vhost tls:vhost bind evnt - init-server oper:connect proc 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 "PRIVMSG $chan : With the command 4!VHOST you can make a vhost."    putserv "PRIVMSG $chan : Do it this way, !vhost This.is.my.vhost.com ."    putserv "PRIVMSG $chan : You can only use this service if you have your nick registered and identified"    putserv "PRIVMSG $chan : For more information type /msg nickserv HELP"    putserv "PRIVMSG $chan : 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_badvhost set temp 0 foreach i [string tolower $dvb_badvhost] { if {[string match $i [string tolower $tls_vhost]]} { set temp 1   putserv "PRIVMSG $chan  : Your vhost is not changed 3$tls_vhost3"   putserv "PRIVMSG $chan : 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=9184">doc</a> — Sun Jul 29, 2007 12:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
