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

	<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>2004-02-26T08:51:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-02-26T08:51:25-04:00</updated>

		<published>2004-02-26T08:51:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34007#p34007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34007#p34007"/>
		<title type="html"><![CDATA[Re: Hostmask comparison in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34007#p34007"><![CDATA[
That depends on what kind of matching you want. You can use 'string match' to do tcl's kind of glob matching. But if you want matching like the irc server does it you'll need something tailor made for your ircd. (eg: if you were to follow rfc1459, you'd have to do case-insensitive matching based on the upper/lower case chars defined in that spec. (some weird additional upper-/lower-case letters))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Feb 26, 2004 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-02-26T08:31:48-04:00</updated>

		<published>2004-02-26T08:31:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34002#p34002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34002#p34002"/>
		<title type="html"><![CDATA[Hostmask comparison in tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34002#p34002"><![CDATA[
Hello, im making a small script in tcl, and one part of it needs hostmask comparsion, any ideas how to do this?<br>Example:<br>lets assume user comes in irc with host <a href="mailto:ident@some.cool.vhost.com">ident@some.cool.vhost.com</a><br>Then he messages the bot with some trigger. the bot grabs his host <a href="mailto:ident@some.cool.vhost.com">ident@some.cool.vhost.com</a> and checks if it matches hostmask lets say<br>*@*.vhost.com (this is stored in some variable). If it matches then the script will continue.<br><br>Thanks<p>Statistics: Posted by Guest — Thu Feb 26, 2004 8:31 am</p><hr />
]]></content>
	</entry>
	</feed>
