Emulated "lastinv" Script
MrRadicalEd
Turrent Master Join Date: 2004-08-13 Member: 30601Members
<div class="IPBDescription">and other such nonsense</div>Wow, what BS "1" has become. This is a fully functional "lastinv" emulated entirely by recursive aliases. just use @slot1 through @slot8 instead of the normal slot commands. "lastslot" replaces "lastinv"
lastly, <a href="http://www.mediafire.com/file/ynnjygu2lmo/Form_2.1.rar" target="_blank">Form</a>, slot management script
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//////////////////////////////
// Emulated Last Weapon Used "EvenFlo"
alias null ""
alias sswitch ""
alias !lastslot ""
alias ?lastslot ""
//
alias @slot1 "slot1;!slot1.same;?lastslot;!lastslot;alias ?lastslot is.slot1;alias !same.slot !slot1.same+;alias !slot1.same !same.slot;"
alias is.slot1 "alias !lastslot !slot1;alias !slot1.same sswitch"
alias !slot1 "alias lastslot @slot1"
alias !slot1.same+ "alias ?lastslot null;alias sswitch !slot1.sswitch"
alias !slot1.sswitch "alias !slot1.same sswitch"
alias !slot1.same "sswitch"
alias @slot2 "slot2;!slot2.same;?lastslot;!lastslot;alias ?lastslot is.slot2;alias !same.slot !slot2.same+;alias !slot2.same !same.slot;"
alias is.slot2 "alias !lastslot !slot2;alias !slot2.same sswitch"
alias !slot2 "alias lastslot @slot2"
alias !slot2.same+ "alias ?lastslot null;alias sswitch !slot2.sswitch"
alias !slot2.sswitch "alias !slot2.same sswitch"
alias !slot2.same "sswitch"
alias @slot3 "slot3;!slot3.same;?lastslot;!lastslot;alias ?lastslot is.slot3;alias !same.slot !slot3.same+;alias !slot3.same !same.slot;"
alias is.slot3 "alias !lastslot !slot3;alias !slot3.same sswitch"
alias !slot3 "alias lastslot @slot3"
alias !slot3.same+ "alias ?lastslot null;alias sswitch !slot3.sswitch"
alias !slot3.sswitch "alias !slot3.same sswitch"
alias !slot3.same "sswitch"
alias @slot4 "slot4;!slot4.same;?lastslot;!lastslot;alias ?lastslot is.slot4;alias !same.slot !slot4.same+;alias !slot4.same !same.slot;"
alias is.slot4 "alias !lastslot !slot4;alias !slot4.same sswitch"
alias !slot4 "alias lastslot @slot4"
alias !slot4.same+ "alias ?lastslot null;alias sswitch !slot4.sswitch"
alias !slot4.sswitch "alias !slot4.same sswitch"
alias !slot4.same "sswitch"
alias @slot5 "slot5;!slot5.same;?lastslot;!lastslot;alias ?lastslot is.slot5;alias !same.slot !slot5.same+;alias !slot5.same !same.slot;"
alias is.slot5 "alias !lastslot !slot5;alias !slot5.same sswitch"
alias !slot5 "alias lastslot @slot5"
alias !slot5.same+ "alias ?lastslot null;alias sswitch !slot5.sswitch"
alias !slot5.sswitch "alias !slot5.same sswitch"
alias !slot5.same "sswitch"
alias @slot6 "slot6;!slot6.same;?lastslot;!lastslot;alias ?lastslot is.slot6;alias !same.slot !slot6.same+;alias !slot6.same !same.slot;"
alias is.slot6 "alias !lastslot !slot6;alias !slot6.same sswitch"
alias !slot6 "alias lastslot @slot6"
alias !slot6.same+ "alias ?lastslot null;alias sswitch !slot6.sswitch"
alias !slot6.sswitch "alias !slot6.same sswitch"
alias !slot6.same "sswitch"
alias @slot7 "slot7;!slot7.same;?lastslot;!lastslot;alias ?lastslot is.slot7;alias !same.slot !slot7.same+;alias !slot7.same !same.slot;"
alias is.slot7 "alias !lastslot !slot7;alias !slot7.same sswitch"
alias !slot7 "alias lastslot @slot7"
alias !slot7.same+ "alias ?lastslot null;alias sswitch !slot7.sswitch"
alias !slot7.sswitch "alias !slot7.same sswitch"
alias !slot7.same "sswitch"
alias @slot8 "slot8;!slot8.same;?lastslot;!lastslot;alias ?lastslot is.slot8;alias !same.slot !slot8.same+;alias !slot8.same !same.slot;"
alias is.slot8 "alias !lastslot !slot8;alias !slot8.same sswitch"
alias !slot8 "alias lastslot @slot8"
alias !slot8.same+ "alias ?lastslot null;alias sswitch !slot8.sswitch"
alias !slot8.sswitch "alias !slot8.same sswitch"
alias !slot8.same "sswitch"<!--c2--></div><!--ec2-->
lastly, <a href="http://www.mediafire.com/file/ynnjygu2lmo/Form_2.1.rar" target="_blank">Form</a>, slot management script
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//////////////////////////////
// Emulated Last Weapon Used "EvenFlo"
alias null ""
alias sswitch ""
alias !lastslot ""
alias ?lastslot ""
//
alias @slot1 "slot1;!slot1.same;?lastslot;!lastslot;alias ?lastslot is.slot1;alias !same.slot !slot1.same+;alias !slot1.same !same.slot;"
alias is.slot1 "alias !lastslot !slot1;alias !slot1.same sswitch"
alias !slot1 "alias lastslot @slot1"
alias !slot1.same+ "alias ?lastslot null;alias sswitch !slot1.sswitch"
alias !slot1.sswitch "alias !slot1.same sswitch"
alias !slot1.same "sswitch"
alias @slot2 "slot2;!slot2.same;?lastslot;!lastslot;alias ?lastslot is.slot2;alias !same.slot !slot2.same+;alias !slot2.same !same.slot;"
alias is.slot2 "alias !lastslot !slot2;alias !slot2.same sswitch"
alias !slot2 "alias lastslot @slot2"
alias !slot2.same+ "alias ?lastslot null;alias sswitch !slot2.sswitch"
alias !slot2.sswitch "alias !slot2.same sswitch"
alias !slot2.same "sswitch"
alias @slot3 "slot3;!slot3.same;?lastslot;!lastslot;alias ?lastslot is.slot3;alias !same.slot !slot3.same+;alias !slot3.same !same.slot;"
alias is.slot3 "alias !lastslot !slot3;alias !slot3.same sswitch"
alias !slot3 "alias lastslot @slot3"
alias !slot3.same+ "alias ?lastslot null;alias sswitch !slot3.sswitch"
alias !slot3.sswitch "alias !slot3.same sswitch"
alias !slot3.same "sswitch"
alias @slot4 "slot4;!slot4.same;?lastslot;!lastslot;alias ?lastslot is.slot4;alias !same.slot !slot4.same+;alias !slot4.same !same.slot;"
alias is.slot4 "alias !lastslot !slot4;alias !slot4.same sswitch"
alias !slot4 "alias lastslot @slot4"
alias !slot4.same+ "alias ?lastslot null;alias sswitch !slot4.sswitch"
alias !slot4.sswitch "alias !slot4.same sswitch"
alias !slot4.same "sswitch"
alias @slot5 "slot5;!slot5.same;?lastslot;!lastslot;alias ?lastslot is.slot5;alias !same.slot !slot5.same+;alias !slot5.same !same.slot;"
alias is.slot5 "alias !lastslot !slot5;alias !slot5.same sswitch"
alias !slot5 "alias lastslot @slot5"
alias !slot5.same+ "alias ?lastslot null;alias sswitch !slot5.sswitch"
alias !slot5.sswitch "alias !slot5.same sswitch"
alias !slot5.same "sswitch"
alias @slot6 "slot6;!slot6.same;?lastslot;!lastslot;alias ?lastslot is.slot6;alias !same.slot !slot6.same+;alias !slot6.same !same.slot;"
alias is.slot6 "alias !lastslot !slot6;alias !slot6.same sswitch"
alias !slot6 "alias lastslot @slot6"
alias !slot6.same+ "alias ?lastslot null;alias sswitch !slot6.sswitch"
alias !slot6.sswitch "alias !slot6.same sswitch"
alias !slot6.same "sswitch"
alias @slot7 "slot7;!slot7.same;?lastslot;!lastslot;alias ?lastslot is.slot7;alias !same.slot !slot7.same+;alias !slot7.same !same.slot;"
alias is.slot7 "alias !lastslot !slot7;alias !slot7.same sswitch"
alias !slot7 "alias lastslot @slot7"
alias !slot7.same+ "alias ?lastslot null;alias sswitch !slot7.sswitch"
alias !slot7.sswitch "alias !slot7.same sswitch"
alias !slot7.same "sswitch"
alias @slot8 "slot8;!slot8.same;?lastslot;!lastslot;alias ?lastslot is.slot8;alias !same.slot !slot8.same+;alias !slot8.same !same.slot;"
alias is.slot8 "alias !lastslot !slot8;alias !slot8.same sswitch"
alias !slot8 "alias lastslot @slot8"
alias !slot8.same+ "alias ?lastslot null;alias sswitch !slot8.sswitch"
alias !slot8.sswitch "alias !slot8.same sswitch"
alias !slot8.same "sswitch"<!--c2--></div><!--ec2-->
Comments
*goes back to waiting for NS2*
Interesting, I didn't know its implementation relied on the server. Looking back I had noticed lastinv wasn't reliable in high ping situations, but I didn't put 1 and 1 together. I ended up focusing on learning fastswitch 1 instead.
I'll give this a try.
It will switch my weapon even in Highping situations or what ?