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

	<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-09-14T08:55:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-09-14T08:55:46-04:00</updated>

		<published>2006-09-14T08:55:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66331#p66331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66331#p66331"/>
		<title type="html"><![CDATA[script change msg to pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66331#p66331"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n|n "!pub" add_1proc add_1 {nick uhost hand chan arg} {  global chan_1 chan_3 db  if {$chan != "#nemesis-staff"} {return 0}  set arg [split $arg]  set user [lindex $arg 0]  set pass [lindex $arg 1]  if {$user = "" || $pass == ""} {    puthelp "NOTICE $nick :Please insert a Nickname and a password"    return 0  }  set up $user|$pass  set wfile [open $db a+]  puts $wfile $up  close $wfile  puthelp "PRIVMSG $chan_3 :\[\00314DB UPDATE\003\] $user is added to Database by $nick"}</code></pre></div>Atleast look at your script before posting it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Sep 14, 2006 8:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-09-14T05:43:06-04:00</updated>

		<published>2006-09-14T05:43:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66328#p66328</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66328#p66328"/>
		<title type="html"><![CDATA[script change msg to pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66328#p66328"><![CDATA[
i edited my previous post and changed the code<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Thu Sep 14, 2006 5:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whittinghamj]]></name></author>
		<updated>2006-09-14T04:20:44-04:00</updated>

		<published>2006-09-14T04:20:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66326#p66326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66326#p66326"/>
		<title type="html"><![CDATA[script change msg to pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66326#p66326"><![CDATA[
Thanks buddy - does not work for me tho :-s<br><br>I tried <br>!pub user|pass<br>!pub user pass<br><br>and even just !pub to get the msg telling me what the syntax in - no reply at all.<br><br>I checked to see if the pub name was used elsewhere but its not.<br><br>I checked in the DCC windows, no error's.<br><br>Any suggestions please buddy?<br><br>Cheers<br><br>Jamie<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7783">whittinghamj</a> — Thu Sep 14, 2006 4:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-09-14T05:42:16-04:00</updated>

		<published>2006-09-14T01:21:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66323#p66323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66323#p66323"/>
		<title type="html"><![CDATA[script change msg to pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66323#p66323"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n|n "!pub" add_1proc add_1 {nick uhost hand chan arg} {  global chan_1 chan_3 db  if {$chan != "#nemesis-staff"} {return 0}  set arg [split $arg]  set user [lindex $args 0]  set pass [lindex $args 1]  if {$user = "" || $pass == ""} {    puthelp "NOTICE $nick :Please insert a Nickname and a password"    return 0  }  set up $user|$pass  set wfile [open $db a+]  puts $wfile $up  close $wfile  puthelp "PRIVMSG $chan_3 :\[\00314DB UPDATE\003\] $user is added to Database by $nick"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Thu Sep 14, 2006 1:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whittinghamj]]></name></author>
		<updated>2006-09-13T22:56:10-04:00</updated>

		<published>2006-09-13T22:56:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66322#p66322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66322#p66322"/>
		<title type="html"><![CDATA[script change msg to pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66322#p66322"><![CDATA[
Hello everyone.<br><br>I have the following script which i need changing from a /msg cmd to a !pub command and locked to one channel.<br><br>Here is the /msg script as it is right now.<br><div class="codebox"><p>Code: </p><pre><code>proc add_1 { nick uhost hand args } {        global chan_1 chan_3 db        set args [split $args " "]        set user [lindex $args 0]        set user [string range $user 1 end]        set pass [lindex $args 1]        set pass [string range $pass 0 end-1]        if { $user == "" || $pass == "" } {                        putserv "NOTICE $nick :Please instert a Nickname and a password"                        return 0        }        set up $user|$pass        set wfile [open $db a+]        puts $wfile $up        close $wfile        putserv "PRIVMSG $chan_3 :\[\00314DB UPDATE\003\] $user is added to Database by $nick"}</code></pre></div>I need it to only be able to work in #nemesis-staff<br><br>Thank you for anyone who can help me out with this.<br><br>Quest<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7783">whittinghamj</a> — Wed Sep 13, 2006 10:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
