<?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>MaxEvans commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>MaxEvans</author>
		<link>http://www.hawkee.com/snippet/6123/#c55914</link>
		<description><![CDATA[Thank you! That worked.<br />
<br />
Now if I wanted to put<br />
<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">$iif&#40;$input&#40;Delete Channel?,ywk5,Confirm Delete&#41;</td>	</tr></table><span class="postbody"><br />
<br />
I put that in there and it said invalid format. ]]></description>
		<pubDate>Wed, 13 May 2009 13:22:56 -0500</pubDate>
	</item>
	<item>
		<title>napa182 commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>napa182</author>
		<link>http://www.hawkee.com/snippet/6123/#c55913</link>
		<description><![CDATA[try this<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">$deltok&#40;%BChannels,$did&#40;6&#41;.sel,44&#41;</td>	</tr></table><span class="postbody"><br />
or this<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">$remtok&#40;%BChannels,$did&#40;6&#41;.seltext,1,44&#41;</td>	</tr></table><span class="postbody">]]></description>
		<pubDate>Wed, 13 May 2009 13:12:32 -0500</pubDate>
	</item>
	<item>
		<title>MaxEvans commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>MaxEvans</author>
		<link>http://www.hawkee.com/snippet/6123/#c55912</link>
		<description><![CDATA[I tried <br />
<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">$deltok&#40;%BChannels,$did&#40;BSD,6&#41;.text,44&#41;</td>	</tr></table><span class="postbody"><br />
<br />
But that didn't work. So, I'm wondering if I missed something. Or didn't do it right.]]></description>
		<pubDate>Wed, 13 May 2009 12:45:56 -0500</pubDate>
	</item>
	<item>
		<title>Cheiron commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Cheiron</author>
		<link>http://www.hawkee.com/snippet/6123/#c55909</link>
		<description><![CDATA[i had a look at mirc help files for deltok and this is all i could see <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"><br />
$deltok(text,N-N2,C)<br />
<br />
Deletes the Nth token from text.<br />
<br />
 <br />
<br />
$deltok(a.b.c.d,3,46)        returns a.b.d<br />
<br />
$deltok(a.b.c.d,2-3,46)        returns a.d<br />
<br />
 <br />
<br />
You can specify a negative value for N.<br />
<br />
</td>	</tr></table><span class="postbody">]]></description>
		<pubDate>Wed, 13 May 2009 08:26:48 -0500</pubDate>
	</item>
	<item>
		<title>MaxEvans commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>MaxEvans</author>
		<link>http://www.hawkee.com/snippet/6123/#c55862</link>
		<description><![CDATA[What would I use to delete tokens? I tried $deltok, but I must be missing something.]]></description>
		<pubDate>Mon, 11 May 2009 22:56:49 -0500</pubDate>
	</item>
	<item>
		<title>MaxEvans commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>MaxEvans</author>
		<link>http://www.hawkee.com/snippet/6123/#c55772</link>
		<description><![CDATA[Yeah, I'll add a lot more to the dialog. I added basic commands for now.]]></description>
		<pubDate>Sat, 09 May 2009 21:20:34 -0500</pubDate>
	</item>
	<item>
		<title>Cheiron commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Cheiron</author>
		<link>http://www.hawkee.com/snippet/6123/#c55771</link>
		<description><![CDATA[looks nice and i might point out a first for me to se a dialouge made to access it.. <br />
now.. in saying that, botserv has much much more functions though than you have listed. <br />
this is a complete list of botserv functions. you may for an upgrade to this code want to include some of these into the dialouge :)<br />
<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"><br />
 -BotServ- BotServ allows you to have a bot on your own channel.<br />
 -BotServ- It has been created for users that can't host or<br />
 -BotServ- configure a bot, or for use on networks that don't<br />
 -BotServ- allow users' bot. Available commands are listed <br />
 -BotServ- below; to use them, type /msg BotServ command.  For <br />
 -BotServ- more information on a specific command, type /msg <br />
 -BotServ- BotServ HELP command.<br />
<br />
 -BotServ-     BOTLIST        Lists available bots<br />
 -BotServ-     ASSIGN         Assigns a bot to a channel<br />
 -BotServ-     SET            Configures bot options<br />
 -BotServ-     KICK           Configures kickers<br />
 -BotServ-     BADWORDS       Maintains bad words list<br />
 -BotServ-     ACT            Makes the bot do the equivalent of a &quot;/me&quot; command<br />
 -BotServ-     INFO           Allows you to see BotServ information about a channel or a bot<br />
 -BotServ-     SAY            Makes the bot say the given text on the given channel<br />
 -BotServ-     UNASSIGN       Unassigns a bot from a channel -BotServ- Bot will join a channel whenever there is at least<br />
 -BotServ- 1user(s) on it.<br />
</td>	</tr></table><span class="postbody"><br />
<br />
gets a 7 from me so far as it stands due to its uniqueness]]></description>
		<pubDate>Sat, 09 May 2009 21:00:34 -0500</pubDate>
	</item>
	<item>
		<title>MaxEvans commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>MaxEvans</author>
		<link>http://www.hawkee.com/snippet/6123/#c55770</link>
		<description><![CDATA[I remembered I had used ini files before. But didn't think about using variables for it. So, that is a good idea. =P]]></description>
		<pubDate>Sat, 09 May 2009 20:36:29 -0500</pubDate>
	</item>
	<item>
		<title>Kirby commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Kirby</author>
		<link>http://www.hawkee.com/snippet/6123/#c55769</link>
		<description><![CDATA[Along with what <span style="font-weight: bold">Slickone</span> has said about using tokens, instead of .ini files, you can also change:<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">&nbsp; if &#40;$did == 7&#41; &#123; writeini BChannels.ini Channels $calc&#40;$ini&#40;BChannels.ini,Channels,0&#41; + 1&#41; $?=&quot;Enter Channel To Add&quot; &#125;</td>	</tr></table><span class="postbody"><br />
to </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">&nbsp; if &#40;$did == 7&#41; &#123; set %BChannels $addtok&#40;%BChannels,$?=&quot;Enter a channel to add.&quot;,44&#41; &#125;</td>	</tr></table><span class="postbody"><br />
<br />
I see that this is the complete snippet that you had a question about how to use .ini files, in the mIRC Forum. You could've used variables instead. :-P]]></description>
		<pubDate>Sat, 09 May 2009 20:15:26 -0500</pubDate>
	</item>
	<item>
		<title>Slickone commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Slickone</author>
		<link>http://www.hawkee.com/snippet/6123/#c55768</link>
		<description><![CDATA[instead of useing BChannels.ini for the channels just use a var ex: %BChannels #chan1,#chan2,#chan3 also after that get rid of that ChannelBox alias then use this on the init event<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">didtok $dname 6 44 %BChannels</td>	</tr></table><span class="postbody"><br />
/help /didtok]]></description>
		<pubDate>Sat, 09 May 2009 20:06:46 -0500</pubDate>
	</item>
	<item>
		<title>Kirby commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Kirby</author>
		<link>http://www.hawkee.com/snippet/6123/#c55767</link>
		<description><![CDATA[Looks nice, you're getting better at dialogs.<br />
<br />
One thing I would change though:</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">dialog Confirm &#123;<br />
&nbsp; title &quot;Confirm Delete&quot;<br />
&nbsp; size -1 -1 84 36<br />
&nbsp; option dbu<br />
&nbsp; box &quot;Delete Channel?&quot;, 1, 3 1 78 33<br />
&nbsp; button &quot;Yes&quot;, 2, 10 16 29 9, ok<br />
&nbsp; button &quot;No&quot;, 3, 44 16 29 9, cancel<br />
&#125;</td>	</tr></table><span class="postbody"><br />
Instead of a separate dialog, you can use an <span style="font-weight: bold">$input</span> event to handle that.<br />
<br />
In this script, however, I would use something like:<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">noop $input&#40;Delete Channel?,ywk5,Confirm Delete&#41;</td>	</tr></table><span class="postbody"><br />
<span style="font-weight: bold">/noop</span> means <span style="font-weight: bold">no</span> <span style="font-weight: bold">op</span>eration, if you didn't know.<br />
To further modify this, you can do something like:<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">$iif&#40;$input&#40;Delete Channel?,ywk5,Confirm Delete&#41;,remini BChannels.ini Channels $did&#40;BSD,6&#41;.sel&#41;</td>	</tr></table><span class="postbody"><br />
<br />
<span style="font-weight: bold">/help $input</span> for more information on how to use them.]]></description>
		<pubDate>Sat, 09 May 2009 19:58:55 -0500</pubDate>
	</item>
	<item>
		<title>Aucun50 commented on mIRC Snippet: Max's Botserv Dialog</title>
		<author>Aucun50</author>
		<link>http://www.hawkee.com/snippet/6123/#c55725</link>
		<description><![CDATA[I like this simple but useful, the coding is great as well.<br />
<br />
I think you could have made the dialog look a bit better some of the buttons are a little to small for the words inside them. ]]></description>
		<pubDate>Sat, 09 May 2009 00:02:26 -0500</pubDate>
	</item>

	</channel>
</rss>


