Emulated "lastinv" Script

MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members Posts: 716 Fully active user
edited September 2009 in Scripting Discussion
and other such nonsense
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, Form, slot management script

CODE
//////////////////////////////
// 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"
Post edited by Unknown User on
What if we crowdfund the Director's Chair?

Comments

Sign In or Register to comment.