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

	<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-06-16T18:37:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T18:37:13-04:00</updated>

		<published>2003-06-16T18:37:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21987#p21987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21987#p21987"/>
		<title type="html"><![CDATA[rgr]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21987#p21987"><![CDATA[
rgr that thanks a tone<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 6:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-16T18:35:15-04:00</updated>

		<published>2003-06-16T18:35:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21986#p21986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21986#p21986"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21986#p21986"><![CDATA[
The flag part of the binds would be a good place to start tweaking.<br><br>For the default setting, just set the variable outside the procs some where.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jun 16, 2003 6:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T18:30:24-04:00</updated>

		<published>2003-06-16T18:30:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21985#p21985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21985#p21985"/>
		<title type="html"><![CDATA[also]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21985#p21985"><![CDATA[
and also when it loads it will have a defalut insted of having to do @setwebsite every time the bot dies and comes up<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 6:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T18:22:38-04:00</updated>

		<published>2003-06-16T18:22:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21984#p21984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21984#p21984"/>
		<title type="html"><![CDATA[well]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21984#p21984"><![CDATA[
well i got it up how do i make it so only people with +afop +++ access on the userlist can do @setwebsite<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 6:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-16T18:15:54-04:00</updated>

		<published>2003-06-16T18:15:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21982#p21982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21982#p21982"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21982#p21982"><![CDATA[
Case matters for proc names too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jun 16, 2003 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T18:11:15-04:00</updated>

		<published>2003-06-16T18:11:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21980#p21980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21980#p21980"/>
		<title type="html"><![CDATA[i tryed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21980#p21980"><![CDATA[
i tryed doing that and i came out with this @setwebsite works just not @website i dont get any error massage when i start it <br><br>set tr "@"<br>set cc "@"<br><br>set nopub "#q3f"<br><br>bind pub -|- ${tr}setwebsite setweb<br>bind pub -|- ${tr}Website Web<br><br>set qversion "1.5"<br><br><br><br>proc setweb {nick host hand chan arg} {<br>global url pathqstat cc nopub Website<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Usage: ${cc}setwebsite &lt;^BIP Address^B&gt;"<br>return 0<br>}<br>set Website "$arg"<br>putserv "NOTICE $nick :Website set to $Website"<br>}<br>proc web {nick host hand chan arg} { <br>global url pathqstat cc nopub Website<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :$Website"<br>return 0<br>}<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 6:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-16T17:55:55-04:00</updated>

		<published>2003-06-16T17:55:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21979#p21979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21979#p21979"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21979#p21979"><![CDATA[
Come on don't get mad. Read what we said and try it again. It's just one or two things you need to change -- 'setwebsite' and 'Website'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Jun 16, 2003 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-16T17:55:24-04:00</updated>

		<published>2003-06-16T17:55:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21978#p21978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21978#p21978"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21978#p21978"><![CDATA[
1: get clue<br>2: read the error messages displayed on your partyline<br>3: stop posting the entire script every time<br>4: don't shout<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jun 16, 2003 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T17:50:12-04:00</updated>

		<published>2003-06-16T17:50:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21977#p21977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21977#p21977"/>
		<title type="html"><![CDATA[this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21977#p21977"><![CDATA[
set tr "@"<br>set cc "@"<br><br>set nopub "#q3f"<br><br>bind pub -|- ${tr}setwebsite setweb<br>bind pub -|- ${tr}website web<br><br>set qversion "1.5"<br><br><br><br>proc setweb {nick host hand chan arg} {<br>global url pathqstat cc nopub setwebsite<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Usage: ${cc}setwebsite &lt;^BIP Address^B&gt;"<br>return 0<br>}<br>set website "$arg"<br>putserv "NOTICE $nick :Website Set To  $Website"<br>}<br>proc web {nick host hand chan arg} { <br>global url pathqstat cc nopub website<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :$website "<br>return 0<br>}<br>}<br><br><br>WHAT IS WRONG CAN SOMONE PLEASE FIX IT UP AND THEN COPY AND PAST IT BACK IN.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 5:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-16T17:47:30-04:00</updated>

		<published>2003-06-16T17:47:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21976#p21976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21976#p21976"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21976#p21976"><![CDATA[
dude...in the global-line.<br>btw: case matters, so $Website != $website<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Jun 16, 2003 5:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carnage69]]></name></author>
		<updated>2003-06-16T17:42:39-04:00</updated>

		<published>2003-06-16T17:42:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21975#p21975</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21975#p21975"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21975#p21975"><![CDATA[
set tr "@"<br>set cc "@"<br><br>set nopub "#q3f"<br><br>bind pub -|- ${tr}setwebsite setweb<br>bind pub -|- ${tr}website website<br><br>set qversion "1.5"<br><br><br><br>proc setweb {nick host hand chan arg} {<br>global url pathqstat cc nopub setwebsite<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :Usage: ${cc}setwebsite &lt;^BIP Address^B&gt;"<br>return 0<br>}<br>set website "$arg"<br>putserv "NOTICE $nick :Website Set To  $Website"<br>}<br>proc website {nick host hand chan arg} { <br>global url pathqstat cc nopub website<br>if {[lsearch -exact $nopub [string tolower $chan]] &gt;= 0} {return 0}<br>if {$arg == ""} {<br>putserv "notice $nick :$website "<br>return 0<br>}<br>} <br><br><br>what is wrong with that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3299">Carnage69</a> — Mon Jun 16, 2003 5:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-16T17:41:32-04:00</updated>

		<published>2003-06-16T17:41:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21974#p21974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21974#p21974"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21974#p21974"><![CDATA[
Yeah heh. It's occurred to me that maybe he's mixing up variable names with proc names.<br><br>To Carnage69: you didn't need to change the *proc* names. Just change the variable "setwebsite" to "website".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Jun 16, 2003 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-06-16T17:36:27-04:00</updated>

		<published>2003-06-16T17:36:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21972#p21972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21972#p21972"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21972#p21972"><![CDATA[
/me waits for iteration 3 <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=282">egghead</a> — Mon Jun 16, 2003 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-16T17:33:29-04:00</updated>

		<published>2003-06-16T17:33:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21971#p21971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21971#p21971"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21971#p21971"><![CDATA[
Dude you destroyed your script! Look, the only problem in the original script was this line:<br><br>global url pathqstat cc nopub setwebsite<br><br>See, you've called the variable "setwebsite"  by mistake.<br><br>In your edited script, you messed everything up lol. In one place you call it setweb, in another you call it site, and of course still "website" as it should be in some places. Dude, you really can't just make up names and expect things to work hehe. Change it all to "website" and you'll be ok.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Jun 16, 2003 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2003-06-16T17:27:31-04:00</updated>

		<published>2003-06-16T17:27:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21970#p21970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21970#p21970"/>
		<title type="html"><![CDATA[set script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21970#p21970"><![CDATA[
Probably the fact that you called the variable website but didn't declare it as a global in both procs.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Mon Jun 16, 2003 5:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
