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

	<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-11-07T02:49:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-07T02:49:42-04:00</updated>

		<published>2006-11-07T02:49:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67814#p67814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67814#p67814"/>
		<title type="html"><![CDATA[Help with using setudef and if {[channel get]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67814#p67814"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - .crap crapcodesetudef flag crapcodeproc crapcode {nick uhost hand chan arg} {if {[channel get $chan crapcode]} {putserv "NOTICE $nick :\002\037Error: This command is disabled for $chan\002\037"return}}</code></pre></div><strong class="text-strong">[dcc(bot)] .chanset #crapchan +crapcode<br>[bot(dcc)] Successfully set modes { +crapcode  } on #crapchan.<br><br>/msg #crapchan .crap<br>[NOTICE: bot- Error: This command is disabled for #crapchan<br></strong><br><br>Worked for me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 07, 2006 2:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-11-07T01:57:55-04:00</updated>

		<published>2006-11-07T01:57:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67813#p67813</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67813#p67813"/>
		<title type="html"><![CDATA[Help with using setudef and if {[channel get]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67813#p67813"><![CDATA[
It still doesnt work yes I have done that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Tue Nov 07, 2006 1:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-06T11:10:39-04:00</updated>

		<published>2006-11-06T11:10:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67794#p67794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67794#p67794"/>
		<title type="html"><![CDATA[Help with using setudef and if {[channel get]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67794#p67794"><![CDATA[
did you do <br><br>.chanset #channelname +nofriendcode<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Nov 06, 2006 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[monie089]]></name></author>
		<updated>2006-11-06T07:29:32-04:00</updated>

		<published>2006-11-06T07:29:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67791#p67791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67791#p67791"/>
		<title type="html"><![CDATA[Help with using setudef and if {[channel get]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67791#p67791"><![CDATA[
I tried doing<br><br>setudef flag nofriendcode<br>in this script <div class="codebox"><p>Code: </p><pre><code>proc NintendoXG:code {nick uhost hand chan arg} {global nxgif {[channel get $chan nofriendcode]} {putserv "NOTICE $nick :\002\037Error: This command is disabled for $chan\002\037"return}   ## change this a bit...make sure we have 2 elements   if {[llength [split $arg]] != 2} {       putserv "NOTICE $nick :\002SYNTAX:\002 [string trim $nxg(char)]Help Code"; return   }   foreach {name game} [split $arg] {break}   set list [split [read [set fd [open $::nxg(gamefile) r]]] \n]; close $fd  if {![llength [set matches [lsearch -all -inline -glob $list [md5 [string tolower $name]]*]]]} {      putserv "NOTICE $nick :The user: $name couldn't be found in the NintendoXG Database."; return   }  foreach match $matches {     foreach {x gm code} $match {         if {[string equal -nocase $gm $game]} {             putserv "NOTICE $nick :--- $name's Friendcode ---"             putserv "NOTICE $nick :Game: $gm -- Code: $code"         }     }  }  }</code></pre></div>But that isnt working<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8036">monie089</a> — Mon Nov 06, 2006 7:29 am</p><hr />
]]></content>
	</entry>
	</feed>
