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

	<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>2008-12-06T14:20:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-06T14:20:19-04:00</updated>

		<published>2008-12-06T14:20:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86104#p86104</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86104#p86104"/>
		<title type="html"><![CDATA[Removing user from list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86104#p86104"><![CDATA[
I forgot that it was saving nick;host .<br><br>Fixed, ty  <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=9777">garfwen</a> — Sat Dec 06, 2008 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-06T12:08:14-04:00</updated>

		<published>2008-12-06T12:08:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86097#p86097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86097#p86097"/>
		<title type="html"><![CDATA[Removing user from list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86097#p86097"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# ./zonk.tcllist before: nick1 nick2 nick3command [remove "nick2"]NOTICE nick2 :Removed!list after: nick1 nick3</code></pre></div>but ok, u can always use another foreach to rewrite the list without specified nick <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>its no problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Sat Dec 06, 2008 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-06T10:55:12-04:00</updated>

		<published>2008-12-06T10:55:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86096#p86096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86096#p86096"/>
		<title type="html"><![CDATA[Removing user from list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86096#p86096"><![CDATA[
still not working,<br><br>bot says "Removed"<br>but nick stills there (on the list) :&lt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Sat Dec 06, 2008 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-06T10:32:54-04:00</updated>

		<published>2008-12-06T10:32:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86093#p86093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86093#p86093"/>
		<title type="html"><![CDATA[Removing user from list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86093#p86093"><![CDATA[
try to change:<div class="codebox"><p>Code: </p><pre><code>set player_list [lreplace $player_list $pos 0]</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>set player_list [lreplace $player_list $pos $pos]</code></pre></div>:&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Sat Dec 06, 2008 10:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-06T08:30:55-04:00</updated>

		<published>2008-12-06T08:30:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86092#p86092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86092#p86092"/>
		<title type="html"><![CDATA[Removing user from list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86092#p86092"><![CDATA[
Hello<br><br>I have a script that add every single person that types !reg bot adds on a list.<br><div class="codebox"><p>Code: </p><pre><code>      foreach new_player $player_list {</code></pre></div>Now i has trying to make a !remove script, but is not working:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !remove removeproc remove {nick uhost hand chan rest} {   global reg_status player_list max_players game_status game_prize the_winner_isset pos [lsearch -exact $player_list $nick]if { $pos != -1 } {set player_list [lreplace $player_list $pos 0]putserv "NOTICE $nick :$::corinicial Removed! $::corfinal"} else {putserv "NOTICE $nick :$::corinicial You are not registered! $::corfinal"}}</code></pre></div>Whats wrong ?!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br>Ty, GaRfWeN<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Sat Dec 06, 2008 8:30 am</p><hr />
]]></content>
	</entry>
	</feed>
