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

	<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>2001-10-22T11:12:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-22T11:12:00-04:00</updated>

		<published>2001-10-22T11:12:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=952#p952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=952#p952"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=952#p952"><![CDATA[
ppslim:<br>Thanks a lot, I have used the [split] and the <ul> <li>option to save the $arg(uments) and it works now... :<br><br>&lt;Vosje&gt; !testnicksend -ybr|d send<br>&lt;BW&gt;  -ybr|d -- -ybr|d<br>&lt;BW&gt;  after sending: -ybr|d -- -ybr|d<br><br>Many thx to you for your fast help.<br><br>Regards<br>Vosje</li></ul><p>Statistics: Posted by Guest — Mon Oct 22, 2001 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-21T19:37:00-04:00</updated>

		<published>2001-10-21T19:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=938#p938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=938#p938"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=938#p938"><![CDATA[
Well thx for the site (there are more nfo that i need to make my scritps usefull<br><br>and i will test the Quote's you give me tomore ... it's here 23:30 now.. and i'm go to bed....<br><br>Many thx, you help me alot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Sun Oct 21, 2001 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-10-21T18:17:00-04:00</updated>

		<published>2001-10-21T18:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=937#p937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=937#p937"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=937#p937"><![CDATA[
The basic problem is the way you handle incoming strings.<br><br>In proc call_fncommands, you are treating the text string $arg as a list.<br><br>You should convert the string to a list before accessing it with list commands.<br><br>So change commands like <blockquote class="uncited"><div>set arg1 [lindex $arg 1]</div></blockquote>to<blockquote class="uncited"><div>set arg1 [lindex [split $arg] 1]</div></blockquote>It is also potentialy dangerous not to do this when sending the user input through the timer commands.<br><br>Before sending these strings to other commands, use the list command to make them safe. This will also preserve the -ryd based formatting you require.<br><br>You should read over <a href="http://www.suninet.nl/tclguide/tclguide.html" class="postlink">http://www.suninet.nl/tclguide/tclguide.html</a> for some good information on how to deal with text like this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Oct 21, 2001 6:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-21T17:40:00-04:00</updated>

		<published>2001-10-21T17:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=934#p934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=934#p934"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=934#p934"><![CDATA[
<a href="http://lafemmeclan.dyn.dhs.org:8081/download/extcmd2.tcl" class="postlink">http://lafemmeclan.dyn.dhs.org:8081/dow ... xtcmd2.tcl</a><br><br>It's not the hole Script <br>but only the proccesses i do with that command<br>It the hole script are passwords. I'm new here so i don't know how ppl are here<br>(Sorry but that's secure work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile">)<br><p>Statistics: Posted by Guest — Sun Oct 21, 2001 5:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-10-21T17:33:00-04:00</updated>

		<published>2001-10-21T17:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=933#p933</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=933#p933"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=933#p933"><![CDATA[
Can you paste a link to your script, so we can see what is wrong within it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Oct 21, 2001 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-21T17:17:00-04:00</updated>

		<published>2001-10-21T17:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=932#p932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=932#p932"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=932#p932"><![CDATA[
Oke here a example :<br>I try to ban a user -ybr|d (Sorry Hybrid i used your name <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br>but this is what happens:<br><br>&lt;Vosje&gt; Here i go:<br>&lt;Vosje&gt; bw chanban #test  -ybr|d<br>&lt;BW&gt; -ybr|d «« Name i give???<br>&lt;BW&gt; -ybr|d must be de nick i give? and sent trou (below). This is the ban host *!*@*<br>&lt;BW&gt; Testmask *!*@* lengt of mask 5 the nickname that returns in this block -ybr|d<br>&lt;BW&gt; - FN Oper Script - I have banned -ybr|d from Channel #test.<br><br>&lt;Vosje&gt; Here i go part 2:<br>&lt;Vosje&gt; bw chanban #test  \-\ybr|d<br>&lt;BW&gt; -ybr|d «« Name i give???<br>&lt;BW&gt; -ybr|d must be de nick i give? and sent trou (below). This is the ban host *!*@*<br>&lt;BW&gt; Testmask *!*testuser@96.122.0.* lengt of mask 5 the nickname that returns in this block -ybr|d<br>&lt;BW&gt; - FN Oper Script - I have banned -ybr|d from Channel #test.<br><br>&lt;Vosje&gt; Here i go part 3:<br>&lt;Vosje&gt; bw chanban #test  \\-\\ybr|d<br>&lt;BW&gt; \-\ybr|d «« Name i give???<br>&lt;BW&gt; \-\ybr|d must be de nick i give? and sent trou (below). This is the ban host *!*@*<br>&lt;BW&gt; Testmask *!*@* lengt of mask 5 the nickname that returns in this block -ybr|d<br>&lt;BW&gt; - FN Oper Script - I have banned -ybr|d from Channel #test.<br>&lt;Vosje&gt; *** -ybr|d was kicked by BWorld (Your Bannen by Server on this channel.)<br><br>This is wat i mean with my Problem<br>I hope you can folow me<br>Else you must look on the server where i'm.<br><br>Thx already <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><p>Statistics: Posted by Guest — Sun Oct 21, 2001 5:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-10-21T13:10:00-04:00</updated>

		<published>2001-10-21T13:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=931#p931</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=931#p931"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=931#p931"><![CDATA[
I don't understand, can you provide an example where this happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Oct 21, 2001 1:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-21T08:47:00-04:00</updated>

		<published>2001-10-21T08:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=928#p928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=928#p928"/>
		<title type="html"><![CDATA[Commands and nicknames as $ARG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=928#p928"><![CDATA[
I have a problem with nicks that use charraccters like  | { } etc<br>If i callup it as a $arg(ument) then the bot remove (don't see) the  (like -aname will be -aname) and the bot don't see them<br>if i do \-aname then he see the user but<br>if i send the $arg trou a pther proc then the name is -aname agian. How can i solve this problem or is there a patch for this<br>(normaly  in a string will used as 02 (Bold Code) or 03xx,xx (Color Code) in a TCL)<br><br>Thax already for thous hwo can help me<p>Statistics: Posted by Guest — Sun Oct 21, 2001 8:47 am</p><hr />
]]></content>
	</entry>
	</feed>
