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

	<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-01-28T10:36:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-01-28T10:36:05-04:00</updated>

		<published>2009-01-28T10:36:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87128#p87128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87128#p87128"/>
		<title type="html"><![CDATA[remove proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87128#p87128"><![CDATA[
Simply use the rename command. Renaming a proc to an empty string will delete the function and/or proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 28, 2009 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-01-28T10:08:32-04:00</updated>

		<published>2009-01-28T10:08:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87127#p87127</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87127#p87127"/>
		<title type="html"><![CDATA[remove proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87127#p87127"><![CDATA[
I don't know of any way to 'unset' a proc but you could simply overwrite it with a proc of the same name accepting the same number of arguments that simply returns zero (ie. does nothing). Not exactly elegant, but functional in most circumstances I would have thought.<br><br>The only problems i envisage is if you use the command [info procs ?pattern?] elsewhere in your code because the proc would still exist, or perhaps if you are deliberately trying to generate and catch an error if the proc doesn't exist.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Jan 28, 2009 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2009-01-28T06:45:59-04:00</updated>

		<published>2009-01-28T06:45:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87126#p87126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87126#p87126"/>
		<title type="html"><![CDATA[remove proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87126#p87126"><![CDATA[
hi, i'm wondering if it would be possible to delete a proc without restarting your script..<br><br>like..<br><div class="codebox"><p>Code: </p><pre><code>proc test {} {return 0} ;# proc is created now how to delete it?</code></pre></div>I've been thinking of a way to do this but I can't think of any, is it even possible, ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jan 28, 2009 6:45 am</p><hr />
]]></content>
	</entry>
	</feed>
