<?xml version="1.0"?>
<rss version="2.0">
	<channel>
	<title>Newest Comments</title>
	<link>http://www.hawkee.com</link>
	<description>Hawkee.com Comment Tracker</description>
	<language>en-us</language>

	<item>
		<title>dashh commented on mIRC Snippet: Mode Lock</title>
		<author>dashh</author>
		<link>http://www.hawkee.com/snippet/5352/#c52227</link>
		<description><![CDATA[looks that.<br />
two /mode is not necesary<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Code:</b></span></td>	</tr>	<tr>	  <td class="code"><br />
;-&nbsp; /testt +i<br />
alias testt &#123; <br />
&nbsp; if &#40; $nick != $me &#41; &#123;<br />
&nbsp; &nbsp; if &#40;-* iswm $1&#41; || &#40;+* iswm $1 &#41; &#123;<br />
&nbsp; &nbsp; &nbsp; echo -a * /mode $chan $+&#40;$iif&#40;$v1 = -,+,-&#41;,$remove&#40;$1,-,+&#41;&#41; $2-<br />
&nbsp; &nbsp; &#125; <br />
&nbsp; &#125;<br />
&#125;<br />
</td>	</tr></table><span class="postbody"><br />
and<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Code:</b></span></td>	</tr>	<tr>	  <td class="code"><br />
alias mlock &#123;<br />
&nbsp; %lock = $iif&#40;%lock = 0,1,0&#41;<br />
&nbsp; $iif&#40;%lock = 0,.disable,.enable&#41; #lock | /echo -a Mlock $iif&#40;%lock = 0,off. modes unlocked,on. modes lock&#41;<br />
&#125;<br />
</td>	</tr></table><span class="postbody">]]></description>
		<pubDate>Sun, 22 Feb 2009 16:54:34 -0600</pubDate>
	</item>
	<item>
		<title>mountaindew commented on mIRC Snippet: Mode Lock</title>
		<author>mountaindew</author>
		<link>http://www.hawkee.com/snippet/5352/#c47047</link>
		<description><![CDATA[Instead of using the %lock variable I'd just grab the status of the group.]]></description>
		<pubDate>Mon, 17 Nov 2008 15:53:53 -0600</pubDate>
	</item>
	<item>
		<title>Kasbah commented on mIRC Snippet: Mode Lock</title>
		<author>Kasbah</author>
		<link>http://www.hawkee.com/snippet/5352/#c47045</link>
		<description><![CDATA[Good idea to prevent other operators changing modes, depending on the version of services on the IRC server won't &quot;/cs set #channelname mlock +modes&quot; do the same thing ?<br />
<br />
A few Pointers:<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Quote:</b></span></td>	</tr>	<tr>	  <td class="quote"> if ( %lock == $null )</td>	</tr></table><span class="postbody"> can be written as </span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Quote:</b></span></td>	</tr>	<tr>	  <td class="quote"> if (!%lock)</td>	</tr></table><span class="postbody"> note: no spaces.<br />
<br />
also no need for a &quot;/&quot; before the commands you can just write </span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Quote:</b></span></td>	</tr>	<tr>	  <td class="quote">/mode $chan $+(+,$remove($1,-))</td>	</tr></table><span class="postbody"> as </span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr> 	  <td><span class="genmed"><b>Quote:</b></span></td>	</tr>	<tr>	  <td class="quote">mode $chan $+(+,$remove($1,-))</td>	</tr></table><span class="postbody">]]></description>
		<pubDate>Mon, 17 Nov 2008 15:44:40 -0600</pubDate>
	</item>

	</channel>
</rss>


