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

	<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-03-31T00:08:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-03-31T00:08:34-04:00</updated>

		<published>2006-03-31T00:08:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61541#p61541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61541#p61541"/>
		<title type="html"><![CDATA[Re hpostiga]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61541#p61541"><![CDATA[
i deleted manually from cmd.txt then restarted bot <br><br><blockquote class="uncited"><div>and for del a command?</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Fri Mar 31, 2006 12:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hpostiga]]></name></author>
		<updated>2006-03-30T20:14:20-04:00</updated>

		<published>2006-03-30T20:14:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61537#p61537</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61537#p61537"/>
		<title type="html"><![CDATA[!addcmd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61537#p61537"><![CDATA[
and for del a command?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7161">hpostiga</a> — Thu Mar 30, 2006 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-03-29T07:58:54-04:00</updated>

		<published>2006-03-29T07:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61514#p61514</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61514#p61514"/>
		<title type="html"><![CDATA[Re Sir_Fz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61514#p61514"><![CDATA[
ya its working thanks<br><blockquote class="uncited"><div>.....</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Wed Mar 29, 2006 7:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-29T06:18:59-04:00</updated>

		<published>2006-03-29T06:18:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61512#p61512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61512#p61512"/>
		<title type="html"><![CDATA[!addcmd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61512#p61512"><![CDATA[
Why did you ask in both topics? try the code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 29, 2006 6:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-03-28T23:59:14-04:00</updated>

		<published>2006-03-28T23:59:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61499#p61499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61499#p61499"/>
		<title type="html"><![CDATA[Re Sir_Fz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61499#p61499"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set cmdsfile "scripts/cmds.txt" if {![file exists $cmdsfile]} {  set fileid [open $cmdsfile w]  close $fileid } {  source $cmdsfile } bind pub n !addcommand add:command proc add:command {n u h c a} {  global addedcommands  set command [lindex [split $a] 0]  set action [join [lrange [split $a] 1 end]]  if {[info command added:$command] == ""} {   set addedcommands($command) $action   proc added:$command {n u h c a} {    global addedcommands    puthelp "privmsg $c :\001ACTION [string map [list %nick [lindex [split $a] 0]] $addedcommands($::lastbind)]\001"   }   bind pub - $command added:$command   save:command $command $action   puthelp "notice $n :Added add:$command command."  } {   puthelp "notice $n :Command added:$command already exists."  } } proc save:command {c act} {  global cmdsfile  set c [string map {\[ \\\[ \] \\\] \\ \\\\} $c]  set cmdlist [split [read [set f [open $cmdsfile]]] \n][close $f]  lappend cmdlist "bind pub - $c added:$c"  lappend cmdlist ""  lappend cmdlist "set addedcommands($c) [list $act]"  lappend cmdlist ""  set f [open $cmdsfile w]  foreach cmd $cmdlist {   puts $f $cmd  }  puts $f [printproc added:$c]  close $f } # user's proc from the Tcl faq forum proc printproc proc {    set args {}    foreach arg [info args $proc] {       if {[info default $proc $arg val]} {          lappend args [list $arg $val]       } {          lappend args [list $arg]       }    }    list proc $proc $args [info body $proc] }</code></pre></div>is it the final code ???<br><br><br><br><blockquote class="uncited"><div>Maybe <a href="http://forum.egghelp.org/viewtopic.php?t=11130" class="postlink">this</a> topic can help you.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Tue Mar 28, 2006 11:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-28T19:37:26-04:00</updated>

		<published>2006-03-28T19:37:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61491#p61491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61491#p61491"/>
		<title type="html"><![CDATA[!addcmd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61491#p61491"><![CDATA[
Maybe <a href="http://forum.egghelp.org/viewtopic.php?t=11130" class="postlink">this</a> topic can help you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Mar 28, 2006 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-03-28T07:04:09-04:00</updated>

		<published>2006-03-28T07:04:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61463#p61463</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61463#p61463"/>
		<title type="html"><![CDATA[!addcmd]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61463#p61463"><![CDATA[
i need a script help wich will b abale to add trigers for eggdrop what can use in channel<br><br>like<br><br>&lt;SuMiT&gt;!addcmd  laugh PRIVMSG 12hands13 $who 12a huggable <br>teddy bear and smiles at<br><br>&lt;CuteBangla&gt;Command Added<br><br>&lt;SuMiT&gt;!laugh JiN0<br><br>&lt;CuteBangla&gt;12hands13 JiN0 12a huggable <br>teddy bear and smiles at<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Tue Mar 28, 2006 7:04 am</p><hr />
]]></content>
	</entry>
	</feed>
