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

	<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>2005-07-26T11:49:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-26T11:49:03-04:00</updated>

		<published>2005-07-26T11:49:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53322#p53322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53322#p53322"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53322#p53322"><![CDATA[
Nevermind, I got it. Thanks for all the help Sir_Fz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Tue Jul 26, 2005 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-26T11:03:18-04:00</updated>

		<published>2005-07-26T11:03:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53318#p53318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53318#p53318"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53318#p53318"><![CDATA[
Now is when I run into a bad problem, because it doesn't work. Eggdrop is only holding 9 characters for the person's nickname. Is there a way for the op, to make it .+host the user's address to the user 'Op'? I would pre-add all of these users, and then just .addop would add their host, and then for the access script it would lookup their host?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Tue Jul 26, 2005 11:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-26T06:03:51-04:00</updated>

		<published>2005-07-26T06:03:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53308#p53308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53308#p53308"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53308#p53308"><![CDATA[
This example should help you:<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand n|n $chan]} { # he's an owner} elseif {[matchattr $hand m|m $chan]} { # he's a master} else { # he's something else.}</code></pre></div>As for the address, use this:<div class="codebox"><p>Code: </p><pre><code>set address *!*@[lindex [split [getchanhost [lindex [split $text] 0]] @] 1]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jul 26, 2005 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-25T20:55:37-04:00</updated>

		<published>2005-07-25T20:55:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53295#p53295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53295#p53295"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53295#p53295"><![CDATA[
What would be the way to make it so people that aren't added to have it say something? What would the flag set be?<br><br>And -- My addop script adds their ident too. Is there a way to make it *!*@ip.domain<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Jul 25, 2005 8:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-25T20:40:43-04:00</updated>

		<published>2005-07-25T20:40:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53293#p53293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53293#p53293"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53293#p53293"><![CDATA[
Yeah, I got it. Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Jul 25, 2005 8:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-25T20:17:19-04:00</updated>

		<published>2005-07-25T20:17:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53292#p53292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53292#p53292"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53292#p53292"><![CDATA[
Observe the code and think about it. Also, read eggdrop.conf to know about eggdrop's flags.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 25, 2005 8:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-25T20:12:27-04:00</updated>

		<published>2005-07-25T20:12:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53291#p53291</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53291#p53291"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53291#p53291"><![CDATA[
Thanks. How would I add more levels to it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Jul 25, 2005 8:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-25T20:08:45-04:00</updated>

		<published>2005-07-25T20:08:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53290#p53290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53290#p53290"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53290#p53290"><![CDATA[
You can do something like this:<div class="codebox"><p>Code: </p><pre><code>bind pub - .access show:accessproc show:access {nick uhost hand chan arg} { if {![llength [set t [lindex [split $arg] 0]]]} { set t $nick } if {[matchattr [nick2hand $t] n|n $chan]} {  puthelp "PRIVMSG $chan :$t is an owner." } elseif {[matchattr [nick2hand $t] m|m $chan]} {  puthelp "PRIVMSG $chan :$t is a master." }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 25, 2005 8:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-25T20:01:04-04:00</updated>

		<published>2005-07-25T20:01:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53286#p53286</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53286#p53286"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53286#p53286"><![CDATA[
I just don't want a big script like that. I have everything I need in that small one.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Jul 25, 2005 8:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-25T20:00:11-04:00</updated>

		<published>2005-07-25T20:00:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53284#p53284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53284#p53284"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53284#p53284"><![CDATA[
Try <a href="http://hub.nexushells.net/~Fz/fzcommands3.0.zip" class="postlink">FzCommands</a>, I don't see why this should be rewritten.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 25, 2005 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-07-25T19:51:41-04:00</updated>

		<published>2005-07-25T19:51:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53281#p53281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53281#p53281"/>
		<title type="html"><![CDATA[Access Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53281#p53281"><![CDATA[
Ok, well currently I have things like:<br><div class="codebox"><p>Code: </p><pre><code>bind pub nm .addop h:addop:msgproc h:addop:msg {nick host hand chan text} {         set user [lindex $text 0]      set address *![getchanhost [lindex $text 0]]      if {[string match -nocase $text ""]} {      putquick "NOTICE $nick :You didn't include a nickname."      return 0   }      if {![onchan $text $chan]} {      putquick "NOTICE $nick :$user isn't on $chan."      return 0     }     putquick "NOTICE $nick :Added op: $user"     adduser $user $address     chattr $user +ao $chanpushmode $chan +o $user}</code></pre></div>Now, after I add the user, I want to be able to use commands like:<br><br>.access = Will display my access<br>.access * = Will display *'s access<br><br>If anyone could please help me with this, it would be greatly appreciated.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Mon Jul 25, 2005 7:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
