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

	<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-11-01T03:20:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-11-01T03:20:28-04:00</updated>

		<published>2023-11-01T03:20:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112255#p112255</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112255#p112255"/>
		<title type="html"><![CDATA[vhost help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112255#p112255"><![CDATA[
nevermind, i found out another solution and it is working well.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Wed Nov 01, 2023 3:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-10-31T16:39:03-04:00</updated>

		<published>2023-10-31T16:39:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112254#p112254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112254#p112254"/>
		<title type="html"><![CDATA[vhost help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112254#p112254"><![CDATA[
hello everyone,<br><br>i am using this tcl and it works, although the user can request a personalized vhost and can use it once the user still active in the network. Once the user join again, the user needs to request again.<br><br>Now i have added the eggdrop bot an oper block in anope. to make the bot activate/set the vhost once the user requested a vhost from the channel by typing !vhost vhost.user.want<br><br><br>if anyone can help and add the code in the script to activate the vhost requested by the user and notice it to the user, like;<br><br><br><div class="codebox"><p>Code: </p><pre><code>user: !vhost i.want.this.vhostvhost: Your vhost is changed to i.want.this.vhost (Chanel Notice)vhost: Your vhost is activated and can be used permanently. (Channel Notice)</code></pre></div><br>thanks in advance.<br><br>happy halloween.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Tue Oct 31, 2023 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-10-29T20:47:44-04:00</updated>

		<published>2017-10-29T20:47:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106501#p106501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106501#p106501"/>
		<title type="html"><![CDATA[Re: vhost help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106501#p106501"><![CDATA[
Final code<br>only works for anope services &amp; Unreal3.2.* ... Remember also for the tcl to work your bot must have access to ircop<div class="codebox"><p>Code: </p><pre><code># based in http://forum.egghelp.org/viewtopic.php?t=13836&amp;highlight=vhost# updated for Arnold_X-P email urquizoandrade@gmail.com /server irc.dal.net channel #tcls my nick's Arnold_X-P &amp; sedition 29/OCT/2017 # tambien estoy en irc.chatzona.org canal #tcl mi correo urquizoandrade@hotmail.com mis nicks Arnold_X-P y sedition#set this to channelset scan(chan) "#vhost"# Set this to the bot's O-Line username #set oper(username) "you-opernick"# Set this to the bots O-Line password #set oper(password) "you-pass-ircop"# Set here the words that are not alowed in the vhost #set dvb_badvhost {   "*admin*"   "*bitch*"   "*operator*"   "*ircop*"      "*netadmin*"   "*N3TADM1N*"   "*ñ*"   "*^*"   "*+*"   "*´*"   "*&lt;*"   "*#*"   "*irc0p*"   "*Opers*"   "*`*"   "*&amp;*"   "*¿*"   "*¡*"   "*,*"}## 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 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 botnick if {![string match -nocase *$nick* $botnick]} {  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 $nick :\2$nick\2 Don't Use This Command Outside $::scan(chan)"   return 0  } if {$vhost == ""} { if {$chan == "$::scan(chan)"} { putserv "PRIVMSG $chan :With the command 4!vhost you can make a vhost." putserv "PRIVMSG $chan :Do it this way, 4!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 4/MSG nickserv HELP"   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] }   continue }  putserv "PRIVMSG $::scan(chan) :$nick your nick is registered and identified use 4!vhost &lt;vhost&gt;"   }  if {$tls_ident == "2" &amp;&amp; $regist == "is identified for this nick"} { foreach j [utimers] {    if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }   continue }  global dvb_badvhostforeach i $dvb_badvhost {if {[string match -nocase "$i" $tls_vhost]} { putserv "PRIVMSG $::scan(chan) :Your vhost is not changed 3$tls_vhost3"  putserv "PRIVMSG $::scan(chan) :Its not a valid vhost 3$tls_vhost for 3$i"   return 1  } }  putserv "PRIVMSG hostserv : set $tls_nick $tls_vhost"  putserv "chghost $tls_nick $tls_vhost"  putserv "NOTICE $tls_nick :Your vhost is changed in 3$tls_vhost3"  putserv "NOTICE $tls_nick :Type 4/msg hostserv on"  }  return 0}proc tls:not:ident {} { global tls_nick putserv "PRIVMSG $::scan(chan) :\2$tls_nick\2 is not registered or identified." putserv "PRIVMSG $::scan(chan) :Type: 4/MSG nickserv HELP for info how to register and identify you nick."}putlog "vhost was successfully loaded. updated for Arnold_X-P (DALnet)"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sun Oct 29, 2017 8:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-04-01T13:57:48-04:00</updated>

		<published>2017-04-01T13:57:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106040#p106040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106040#p106040"/>
		<title type="html"><![CDATA[vhost help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106040#p106040"><![CDATA[
<strong class="text-strong">I found this tcl and tried to arrange it but it has a very repetitive error</strong><br><div class="codebox"><p>Code: </p><pre><code># based in http://forum.egghelp.org/viewtopic.php?t=13836&amp;highlight=vhost#set this to channelset scan(chan) "#vhost"# Set this to the bot's O-Line username #set oper(username) "xxx"# Set this to the bots O-Line password #set oper(password) "xxxx"# Set here the words that are not alowed in the vhost #set dvb_badvhost {   "*admin*"   "*bitch*"   "*operator*"   "*ircop*"      "Marro*"   "*Maro*"   "*netadmin*"   "*N3TADM1N*"   "*ñ*"    "*^"    "*+"    "*´"    "*&lt;"   "*#*"   "*irc0p*"    "*Opers*"   "*`"   "*&amp;"   "*¿"   "*¡"}## dont change below unless your know what your doing ##bind msg o oper oper-upbind join - "$scan(chan) *" tls:join bind raw - 307 tls:identbind pub -|- !vhost tls:vhostbind pub -|- .vhost tls:vhostbind evnt - init-server oper:connectproc oper:connect init-server {putserv "OPER $::oper(username) $::oper(password)"putserv "ns identify benita28"}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 botnick if {![string match -nocase *$nick* $botnick]} {  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 $nick :\2$nick\2 Don't Use This Command Outside $::scan(chan)"return 0  } if {$vhost == ""} {  if {$chan == "$::scan(chan)"} {  putserv "PRIVMSG $chan :With the command 4!vhost you can make a vhost." putserv "PRIVMSG $chan :Do it this way, 4!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 4/MSG nickserv HELP"   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 4!vhost &lt;vhost&gt;"   }  if {$tls_ident == "2" &amp;&amp; $regist == "is identified for this nick"} {    foreach j [utimers] {        if {[lindex $j 1] == "tls:not:ident"} { killutimer [lindex $j 2] }   }      global dvb_badvhostforeach i $dvb_badvhost {if {[string match -nocase $i $tls_vhost]} {  putserv "PRIVMSG $::scan(chan) :Your vhost is not changed 3$tls_vhost3"  putserv "PRIVMSG $::scan(chan) :Its not a valid vhost 3$tls_vhost for 3$i"    return 0   }   }  putserv "PRIVMSG hostserv : set $tls_nick $tls_vhost"  putserv "chghost $tls_nick $tls_vhost"  putserv "NOTICE $tls_nick :Your vhost is changed in 3$tls_vhost3"  putserv "NOTICE $tls_nick :Type 4/msg hostserv on"  unset j ; unset tls_nick ;   }  return 0} proc tls:not:ident {} { global tls_nick putserv "PRIVMSG $::scan(chan) :\2$tls_nick\2 is not registered or identified." putserv "PRIVMSG $::scan(chan) :Type: 4/MSG nickserv HELP for info how to register and identify you nick." return 0} putlog "vhost was successfully loaded."</code></pre></div><span style="color:red">the error is apparently the time that sees the user and repeats it </span> <span style="color:orange">[utimers]</span><br><a href="https://postimg.org/image/f045j1tun/" class="postlink"><img src="https://s11.postimg.org/n5m7h7i3n/vhost_timer.jpg" class="postimage" alt="Image"></a><br><br>[12:21] &lt;&amp;sicario&gt; spencer your nick is registered and identified use 4!vhost &lt;vhost&gt;<br>[12:21] &lt;&amp;sicario&gt; spencer your nick is registered and identified use 4!vhost &lt;vhost&gt;<br>and the error that detects this one in the line <span style="color:brown">90 91</span> and <span style="color:blue">96 97</span><br><br>some friend who wants to help in solving this tcl please.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sat Apr 01, 2017 1:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
