ok on finding that having lots of variables confuses quest, i have made a new (not quite) invertory system. this in vovles having a variable for intory slots. so say you can hold 8 items, the variables will be itemheld1-8.
i've mad some code to see if it works, but not tested them yet. there are 2 codes so far:
no.1: picking up a simple item(non-stackable).
if (itemheld1 > 0) then {
if (itemheld2 > 0) then {
if (itemheld3 > 0) then {
msg <you don't have any room.> }
else {
msg <you pick it up.>
set <itemheld3; (item number)> }
else {
msg <you pick it up.>
set <itemheld2; (item number)> }
else {
msg <you pick it up.>
set <itemheld1; (item number)> }
code no.2: picking up stackable items.
if (itemheld1 > 49) then {
if (itemheld1 < 61) then {
msg <you pick it up.>
set <itemheld1; %itemheld1% + 1> }
else if (itemheld2 > 49) then {
if (itemheld2 < 61) then {
msg <you pick it up.>
set <itemheld2; %itemheld2% + 1> }
else if (itemheld3 > 49) then {
if (itemheld3 < 61) then {
msg <you pick it up.>
set <itemheld3; %itemheld3% + 1> }
else (don't pick up.) }
else if (itemheld3 > 49) then {
if (itemheld3 < 61) then {
msg <you pick it up.>
set <itemheld3; %itemheld3% + 1> }
else (don't pick up.) }
else if (itemheld2 > 49) then {
if (itemheld2 < 61) then {
msg <you pick it up.>
set <itemheld2; %itemheld2% + 1> }
else if (itemheld3 > 49) then {
if (itemheld3 < 61) then {
msg <you pick it up.>
set <itemheld3; %itemheld3% + 1> }
else (don't pick up.) }
else if (itemheld3 > 49) then {
if (itemheld3 < 61) then {
msg <you pick it up.>
set <itemheld3; %itemheld3% + 1> }
else (don't pick up.) }
hopefully you can understand that code,

it took me ages to get it right...
MADBRIT: i'd like it if you checked my codes over, first is simple, second is very complicated, would this system work? if not then what!?