[Script] LocalSpam
Posted: Mon Jan 12, 2015 9:08 am
This is my localspam set in 1.30, it makes you keep saying "retarded, retarded, retarded". The enable/disable key is set to numpad - but you can change it. Just add exec("LocalSpam.cs"); to your autoexec.cs and have these 2 files in your config:
LocalSpam.cs
voiceList.cs
LocalSpam.cs
Code: Select all
///check's Local Spam v1.0
//copyright ||.:.||check www.drinksomecoffee.com/files
exec("voiceList.cs");
EditActionMap("playMap.sae");
bindCommand(keyboard0, make, "numpad-", TO, "LSStatus();");
$LSstat = 0; //turn it off to start w/
$LSnum = 2;
$LScount = 2;
$LSspeed = 0.16;
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 > 2) {
$LSnum = $LScount;
$LScount = $LScount + 1;
if($LScount > 4)
$LScount = 1;
}
schedule("startLS();", $LSspeed);
}
}
Code: Select all
$voiceList[1] = "retreat";
$voiceList[2] = "tgtacq";