Animal
03-19-2007, 05:13 PM
///Crunch's Arf Spam Scripts v1.0
// Arf aRf arf ;)
exec("arflist.cs");
EditActionMap("playMap.sae");
bindCommand(keyboard0, make, "l", TO, "LSStatus();");
$LSstat = 0; //turn it off to start with
$LSnum = 1;
$LScount = 2;
$LSspeed = 0.012;
function LSStatus()
{
if($LSstat == 1)
$LSstat = 0;
else if($LSstat == 0) {
$LSstat = 1;
startLS();
}
}
function startLS()
{
%LSfle = $voiceList[$LSnum];
if($LSstat == 1) {
localMessage(%LSfle);
$LSnum = $LSnum + 5;
if($LSnum > 110) {
$LSnum = $LScount;
$LScount = $LScount + 1;
if($LScount > 4)
$LScount = 1;
}
schedule("startLS();", $LSspeed);
}
}
and it also included this in a separate .cs file;
$voiceList[4] = "flgtkn1"; // our flag is not in the base
$voiceList[3] = "flaghm"; // our flag is secure
$voiceList[1] = "bsclr2"; // our base is secure
$voiceList[5] = "mineobj"; // Our objective is mined
$voiceList[2] = "basetkn"; // our base has been taken
When I press the hotkey, it says one of the sayings ([1] our base is secure) once and stops. I want it to spam repeatedly forever :P
// Arf aRf arf ;)
exec("arflist.cs");
EditActionMap("playMap.sae");
bindCommand(keyboard0, make, "l", TO, "LSStatus();");
$LSstat = 0; //turn it off to start with
$LSnum = 1;
$LScount = 2;
$LSspeed = 0.012;
function LSStatus()
{
if($LSstat == 1)
$LSstat = 0;
else if($LSstat == 0) {
$LSstat = 1;
startLS();
}
}
function startLS()
{
%LSfle = $voiceList[$LSnum];
if($LSstat == 1) {
localMessage(%LSfle);
$LSnum = $LSnum + 5;
if($LSnum > 110) {
$LSnum = $LScount;
$LScount = $LScount + 1;
if($LScount > 4)
$LScount = 1;
}
schedule("startLS();", $LSspeed);
}
}
and it also included this in a separate .cs file;
$voiceList[4] = "flgtkn1"; // our flag is not in the base
$voiceList[3] = "flaghm"; // our flag is secure
$voiceList[1] = "bsclr2"; // our base is secure
$voiceList[5] = "mineobj"; // Our objective is mined
$voiceList[2] = "basetkn"; // our base has been taken
When I press the hotkey, it says one of the sayings ([1] our base is secure) once and stops. I want it to spam repeatedly forever :P