my msgboxes are blank but my file is correct
code
Code:
FileRead, exploreVar, dirExplore
msgbox %exporeVar%
stringreplace, exploreVar, exploreVar, `r,, all
msgbox %exporeVar%
archersHome:=RegExReplace(exploreVar, "(.*)exploreP.Archer[^\d]+(\d+).+","$2")
msgbox %archersHome%
file in dirExplore:=""
Code:
<!-- 05:23:14 WARROOM.ASP: Entering GetConnectionString() --><!-- 05:23:14 Browser : Default --><!-- 05:23:14 Checking the page people are on --><!-- 05:23:14 Checking to see if the session variables still exist or not --><!-- 05:23:14 Finally set the connection string --><!-- 05:23:14 Checking Status --><!-- 05:23:14 Status checked : #Error 0 --><!-- 05:23:14 Ended Checks --><!-- 05:23:14 Timezone checking --><!-- 05:23:14 Status checked : #Error 0 --><!-- 05:23:14 Ended Timezone -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/W2/style/common.css">
<!-- Personal style is "red" (default is "red") -->
<link rel="stylesheet" type="text/css" href="/W2/style/red.css">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="viewport" content="initial-scale=1, user-scalable=yes">
<title>W2 - KingdomGame</title>
<script type="text/javascript" src="/W2/includes/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="/W2/includes/jquery.corner.js"></script>
<script type="text/javascript" src="/W2/includes/jquery.cookie.js"></script>
<script type="text/javascript" src="/W2/includes/Countdown.js"></script>
<script type="text/javascript">
$(document).ready(function(){
if( window.location.toString().indexOf("#") == -1 ) { window.scrollTo(0, 1); }
$("div.RoundedBorder").corner("round 6px").parent().corner("round 7px");
$("div.Rounded").corner("round 7px");
if( ( document.body.clientWidth || innerWidth ) > 564 ) {
$.cookie('ShowMenu', 'True', { path: '/' } );
} else {
$.cookie('ShowMenu', 'False', { path: '/' } );
}
});
</script>
</head>
<body>
<div class="LogoTop"></div>
<div class="RoundedBorderWrapper">
<div class="NavBar RoundedBorder">
<table width="100%">
<tr>
<td width="25%"><a href="Menu.asp">Menu</a></td>
<td width="25%"><a href="Overview.asp">Overview</a></td>
<td width="25%"><a href="Pidgeon.asp">Pigeon</a></td>
<td width="25%"><a href="Logout.asp">Logout</a></td>
</tr>
</table>
</div>
</div>
<div id="Menu" class="Menu">
<div class="RoundedBorderWrapper" style="width:232px;"><div class="Info RoundedBorder" style="width:212px;">
<h1>Menu</h1>
</div></div>
<!doctype html><script>window.googleAfmcRequest = {client:'ca-mb-pub-1073937590007053',format:'320x50_mb',channel:'7907244537',ad_type:'text',alternate_ad_url:'',alt_color:'',adtest:'',color_bg:'342e24',color_text:'a78349',color_border:'000000',color_link:'a78349',color_url:'008000',kw:'',kw_type:'',hints:'',contents:''}</script><script src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"> </script>
<div class="center small" style="margin-top: 0.5em; margin-bottom: 0.5em; display: block;block;width:320px;width:234px;">
Want to be able to customise your quicklink menu option?
<br><a href="/W2/Userconfig.asp#UpgradePremium">Get a Premium Account now for just $3/month.</a>
</div>
<div class="RoundedBorderWrapper" style="width:232px;"><div class="Content RoundedBorder" style="width:212px;">
<ul>
<li><a href="Overview.asp">Overview</a></li>
<li><a href="Buildings.asp">Buildings</a></li>
<li><a href="ArmedForces.asp">Armed Forces</a></li>
<li><a href="Market.asp">Market</a></li>
<li><a href="WarRoom.asp?Action=Explore">Explore New Lands</a></li>
<li><a href="WarRoom.asp">War Room</a></li>
<li><a href="SendFleet.asp">Send Fleet</a></li>
<li><a href="HolyCircle.asp">Holy Circle</a></li>
<li><a href="TheGuild.asp">The Spy Guild</a></li>
<li><a href="Embassy.asp">Embassy</a></li>
<li><a href="Alliance.asp">Alliance</a></li>
<li><a href="Shipyard.asp">The Shipyard</a></li>
<li><a href="SiegeWorkshop.asp">Siege Workshop</a></li>
<li><a href="Blacksmith.asp">The Blacksmith</a></li>
<li><a href="Pidgeon.asp">Pigeon</a><span class="small"> 116 New Pigeons</span></li>
<li><a href="Colonies.asp">Colonies</a></li>
<li><a href="TrainingAndResearch.asp">Training and Research</a></li>
<li><a href="KingdomRankings.asp">Kingdom Rankings</a></li>
<li><a href="http://forums.kingdomgame.net" target="Forums">Global Forums</a>
<li><a href="Forum.asp">Alliance Forums</a>
<br><br>
<li><a href="http://wiki.kingdomgame.net/index.php?title=Frequently_Asked_Questions" target="wiki">Frequently Asked Questions</a>
<br><br>
<li><a href="UserConfig.asp">User Config/Account Details</a>
<li><a href="Vacation.asp">Vacation planner</a>
<br><br>
<li><a href="Logout.asp">Logout</a>
<br><br>
<li><a href="http://kingdomgame.net/Kingdoms" target="KingdomNW">Kingdom NW Over Time</a>
<br><br>
<li><a href="http://www.cafepress.com/KingdomGame" target="new">KingdomGame Shop</a>
</ul>
</div></div>
</div>
<div class="RoundedBorderWrapper"><div class="Info RoundedBorder">
<table width="100%">
<tr>
<td>
<h1>Explore New Lands</h1>
</td>
<td align="right">
<a href="HelpAndAbout/Information.asp?HelpType=Explore"><img src="images/help.gif" alt="Help"></a>
</td>
</tr>
</table>
</div></div>
<!doctype html><script>window.googleAfmcRequest = {client:'ca-mb-pub-1073937590007053',format:'320x50_mb',channel:'7907244537',ad_type:'text',alternate_ad_url:'',alt_color:'',adtest:'',color_bg:'342e24',color_text:'a78349',color_border:'000000',color_link:'a78349',color_url:'008000',kw:'',kw_type:'',hints:'',contents:''}</script><script src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"> </script>
<div class="center small" style="margin-top: 0.5em; margin-bottom: 0.5em; display: block;block;width:320px;">
Want early access to new features?
<br><a href="/W2/Userconfig.asp#UpgradePremium">Get a Premium Account now for just $3/month.</a>
</div>
<div class="RoundedBorderWrapper"><div class="Content RoundedBorder">
Here you can send troops out to explore new lands.
<p class="small">First select how many you troops you want to send out to explore
(remember they will be unavailable for use until they return in <span class="highlightBad">9 hours and 5 minutes</span>):</p>
<form action="WarRoom-Explore.asp" method="get" name="exploreP">
<script type="text/javascript">
function AddSubNumber(UD)
{
if (UD == "P")
{
document.exploreP.Peasant.value = "1352";
}
if (UD == "FS")
{
document.exploreP.FootSoldier.value = "5";
}
if (UD == "Pi")
{
document.exploreP.Pikeman.value = "2085";
}
if (UD == "El")
{
document.exploreP.Elite.value = "0";
}
if (UD == "Ar")
{
document.exploreP.Archer.value = "2000";
}
if (UD == "Cr")
{
document.exploreP.Crossbowmen.value = "0";
}
if (UD == "LC")
{
document.exploreP.LightCavalry.value = "2691";
}
if (UD == "HC")
{
document.exploreP.HeavyCavalry.value = "3";
}
if (UD == "Kn")
{
document.exploreP.Knight.value = "6";
}
if (UD == "ALL")
{
document.exploreP.Peasant.value = "1352";
document.exploreP.FootSoldier.value = "5";
document.exploreP.Pikeman.value = "2085";
document.exploreP.Elite.value = "0";
document.exploreP.Archer.value = "2000";
document.exploreP.Crossbowmen.value = "0";
document.exploreP.LightCavalry.value = "2691";
document.exploreP.HeavyCavalry.value = "3";
document.exploreP.Knight.value = "6";
}
}
</script>
<table width="100%">
<tr>
<td>Peasants</td>
<td><input type="text" autocomplete="off" name="Peasant" value="" size="6">/1352</td>
<td>
</td>
</tr>
<tr>
<td>Foot Soldier</td>
<td><input type="text" autocomplete="off" name="FootSoldier" size="6" value="">/5</td>
<td>
</td>
</tr>
<tr>
<td>Pikeman</td>
<td><input type="text" autocomplete="off" name="Pikeman" size="6" value="">/2085</td>
<td>
</td>
</tr>
<tr>
<td>Elite</td>
<td><input type="text" autocomplete="off" name="Elite" size="6" value="">/0</td>
<td>
</td>
</tr>
<tr>
<td>Archer</td>
<td><input type="text" autocomplete="off" name="Archer" size="6" value="">/2000</td>
<td>
</td>
</tr>
<tr>
<td>Crossbowmen</td>
<td><input type="text" autocomplete="off" name="Crossbowmen" size="6" value="">/0</td>
<td>
</td>
</tr>
<tr>
<td>Light Cavalry</td>
<td><input type="text" autocomplete="off" name="LightCavalry" size="6" value="">/2691</td>
<td>
</td>
</tr>
<tr>
<td>Heavy Cavalry</td>
<td><input type="text" autocomplete="off" name="HeavyCavalry" size="6" value="">/3</td>
<td>
</td>
</tr>
<tr>
<td>Knight</td>
<td><input type="text" autocomplete="off" name="Knight" size="6" value="">/6</td>
<td>
</td>
</tr>
<tr>
<td colspan=3 align="right">
</td>
</tr>
</table>
<input type="submit" value="Explore!"> <input type="button" value="Cancel" onClick="window.location = 'menu.asp'">
</form>
</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4009059-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>
[/quote]