#IF (%ismember(VialControl,@czd_scripts)) {#IF (%remove(.,%item(@czd_scripts,%ismember(VialControl,@czd_scripts)+1))=%remove(.,1.0)) {#VA czd_scripts %replace(@czd_scripts,VialControl|%item(@czd_scripts,%ismember(VialControl,@czd_scripts)+1),VialControl|2.0);#UNALIAS apply {ingame};#UNALIAS drink {ingame};#UNALIAS vials {vials};#UNTRIGGER {You feel your insides clench as your soul is frozen|You have been slain} {vials};#UNTRIGGER {You take out some salve and quickly rub it on|The salve dissolves and quickly disappears after you apply it} {vials};#ALIAS apply {#IF (!%ismember(%%%1,@vapply)) {#t- ingame;apply %%%0;#t+ ingame} {#IF (%item(@v%%%1,2)) {#VA salves %additem(v%%%1,@salves);#IF (%ismember(%%%3,head|arms|legs|body)) {#VA salves %additem(%%%3,@salves)} {#VA salves %additem(none,@salves)};#t- ingame;apply %item(@v%%%1,1) %%%-2;#t+ ingame} {#EC You have no %upper(%%%1)}}} "ingame";#ALIAS drink {#IF (!%ismember(%%%1,@vdrink)) {#t- ingame;drink %%%0;#t+ ingame} {#IF (%item(@v%%%1,2)) {#VA drinks %additem(v%%%1,@drinks);#t- ingame;drink %item(@v%%%1,1);#t+ ingame} {#EC You have no %upper(%%%1)}}} "ingame";#ALIAS vials {#IF (%%%1) {#IF (%ismember(%insert(v,%%%1,1),@vials)) {#EC {};#VA count 1;#VA vempty 0;#WHILE (@count>0) {#IF (%item(@{v%%%1},@count)) {#IF (%item(@{v%%%1},@count+1)=0) {#ADD vempty (1)};#ADD count (2)} {#EC {%%%1: %eval((@count-1)/2) %if(@vempty,(@vempty Empty))};#VA count 0}}}} {#EC {};#FORALL {@vials} {#VA count 1;#VA vempty 0;#WHILE (@count>0) {#IF (%item(@{%i},@count)) {#IF (%item(@{%i},@count+1)=0) {#ADD vempty (1)};#ADD count (2)} {#EC {%delete(%i,1,1): %eval((@count-1)/2) %if(@vempty,(@vempty Empty))};#VA count 0}}}}} "vials";#TRIGGER {You take out some salve and quickly rub it on} {#VA salves %delitem(%item(@salves,1)|%item(@salves,2),@salves)} "vials";#TRIGGER {The salve dissolves and quickly disappears after you apply it} {#VA salves %delitem(%item(@salves,1)|%item(@salves,2),@salves)} "vials";#TRIGGER {You feel your insides clench as your soul is frozen} {#VA drinks "";#VA salves ""} "vials";#TRIGGER {You have been slain} {#VA drinks "";#VA salves ""} "vials";#VAR vapply {caloric|mending|restoration|mass} {_nodef} "vials";#VAR vdrink {health|mana|immunity|venom|frost|levitation|speed} {_nodef} "vials";#EC VialControl successfully upgraded to v2.0} {#EC Cannot upgrade to v2.0. You currently have v%item(@czd_scripts,%ismember(VialControl,@czd_scripts)+1)}} {#EC I cannot detect any previous versions of VialControl on your system.;#EC Upgrade aborted.}

    Source: geocities.com/southbeach/marina/4190/achaea/downloads

               ( geocities.com/southbeach/marina/4190/achaea)                   ( geocities.com/southbeach/marina/4190)                   ( geocities.com/southbeach/marina)                   ( geocities.com/southbeach)