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

	<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>2013-01-24T13:50:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-24T13:50:16-04:00</updated>

		<published>2013-01-24T13:50:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100748#p100748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100748#p100748"/>
		<title type="html"><![CDATA[!xadd nickname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100748#p100748"><![CDATA[
You can try this version. I didnt test the script but it has no errors in the code. Yet if you encouter some problems you can reply here and ill modify the code and test it.<br><div class="codebox"><p>Code: </p><pre><code>bind pub m !xadd x:addbind notc - * x:notcproc x:add {nick uhost hand chan arg} {global tempset temp(chan) $chanset temp(user)  [lindex [split $arg] 0]set temp(level) [lindex [split $arg] 1]if {($temp(user) == "") || ($temp(level) == "")} {putserv "PRIVMSG $chan :4XADD:2 Comanda de folosire este 7» 4!xadd &lt;nick&gt; &lt;nivel&gt; 7«"; return}putserv "PRIVMSG X :adduser $chan =$temp(user) $temp(level)"utimer 5 [list x:say $chan $temp(user) $temp(level)]}proc x:say {chan user level} {global tempif {![info exists temp(stop)]} {putserv "PRIVMSG $chan :4XADD:2 L-am adaugat pe 7» 04$user 7«2 pe canalul 7» 04$chan 7«2 cu access la X de nivel 7» 04$level 7« "unset -nocomplain temp(stop)}}proc x:notc {nick uhost hand arg dest} {global tempswitch -exact -- $nick {"X" {if {[string match -nocase "*is already added*" $arg]} {putserv "PRIVMSG $temp(chan) :\002$temp(user)\002 is already added with X access on \00312$temp(chan)"set temp(stop) da}}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Jan 24, 2013 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ashoq]]></name></author>
		<updated>2010-11-28T17:19:42-04:00</updated>

		<published>2010-11-28T17:19:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95212#p95212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95212#p95212"/>
		<title type="html"><![CDATA[!xadd nickname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95212#p95212"><![CDATA[
hi again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>i have this TCL it works great <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>i want just add a msg when user have already access on chan<br><br>&lt;mybot&gt; <em class="text-italics">User has already access on chan as level $level</em><br><br><div class="codebox"><p>Code: </p><pre><code>bind pub m !xadd xaddproc xadd {nick uhost hand chan arg} {   set who [lindex $arg 0]        set level "100"   if {![llength $who]} {puthelp "notice $nick :SYNTAX: !xadd nick "; return}      puthelp "privmsg X :adduser $chan =$who $level"      puthelp "privmsg X :modinfo $chan automode =$who op"      puthelp "privmsg $chan :ADDED $who to $chan with access level $level"}</code></pre></div>10x alot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11287">Ashoq</a> — Sun Nov 28, 2010 5:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
