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

	<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>2009-10-09T10:28:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MasterScript]]></name></author>
		<updated>2009-10-09T10:28:38-04:00</updated>

		<published>2009-10-09T10:28:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90450#p90450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90450#p90450"/>
		<title type="html"><![CDATA[how adduser + access + level ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90450#p90450"><![CDATA[
Tq.. i will check it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6140">MasterScript</a> — Fri Oct 09, 2009 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-10-09T09:38:08-04:00</updated>

		<published>2009-10-09T09:38:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90449#p90449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90449#p90449"/>
		<title type="html"><![CDATA[how adduser + access + level ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90449#p90449"><![CDATA[
First off, you'd probably like to use a different command name for adduser, as this is already in use by eggdrop (you could, of course, rename eggdrop's command - though this could lead to confusions amongst admins later on).<br><br>Next step, separate each bit of info provided by the user. <strong class="text-strong">split</strong> and <strong class="text-strong">lindex</strong> (tcl manual) is your friend here. You'll also have to get the user@host of the nickname, see the getchanhost command for this (documented in doc/tcl-commands.doc).<br><br>Once we have all the info needed, use the <strong class="text-strong">adduser</strong> command (doc/tcl-commands.doc) to create the new handle.<br><br>Next, use the <strong class="text-strong">chattr</strong> command (doc/tcl-commands.doc) to assign the handle the appropriate flags depending on their "level".<br><br>Finally, use the <strong class="text-strong">puthelp</strong> command (doc/tcl-commands.doc) to send the user a PRIVMSG or NOTICE that (s)he needs to set his/her password.<br><br><br>The access-command is pretty much the same as above, other than instead of adding a new handle or changing flags, you use the <strong class="text-strong">matchattr</strong> command (doc/tcl-commands.doc) to test whether the handle has this or that flag for this or that channel. If the user is visible in the channel, you could probably also use the <strong class="text-strong">nick2hand</strong> command (doc/tcl-commands.doc) to get one channel member's handle as identified by your eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 09, 2009 9:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MasterScript]]></name></author>
		<updated>2009-10-09T01:03:22-04:00</updated>

		<published>2009-10-09T01:03:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90447#p90447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90447#p90447"/>
		<title type="html"><![CDATA[how adduser + access + level ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90447#p90447"><![CDATA[
Hi,<br><br>Can anyone give me some guide to make like this:<br><br>bind MSG - adduser msg:adduser<br>bind MSG - access msg:access<br><br><strong class="text-strong">ADDUSER</strong><br>Step 1:<br>IRC command:<br>/msg botnick adduser #channel somenick access-level<br><br>Level:<br>"badmin" = Botnet Administrator<br>"cadmin" = Channel Administrator<br>"ccadmin" = Channel Co Administrator<br>"members" = Channel Members<br><br>Step 2: after adding<br>somenick will ask to set there password :<br>"Please set your password with /msg botnick pass &lt;your password&gt;"<br><br>Step 3:<br>after somenick set there password, bots notices:<br>"Successfully added you into my channel partition as Botnet Administrator"<br>"You may do so by typing /msg botnick pass &lt;password&gt; now to access"<br><br><br><strong class="text-strong">CHECK ACCESS</strong><br>IRC Command:<br>/msg botnick access #channel somenick<br><br>Bots will notices:<br><br>Nickname: somenick<br>Handle : somenick<br>Channel : #Channel<br>Level : Botnet Administrator<br><br>or<br><br>Nickname: somenick<br>Handle : somenick<br>Channel : #Channel<br>Level : Dont have any access<br><br>or simple notices : "somenick does not have access in #channel"<br><br>Thank you very much for your help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6140">MasterScript</a> — Fri Oct 09, 2009 1:03 am</p><hr />
]]></content>
	</entry>
	</feed>
