I have an alias called

**spiderdown**which I want to run me down to the next level from my current one. It looks like the following (and, yes, I make sure

**floor**is equal to

**1**beforehand):

When I activate the alias, no command is sent to mud, butif floor == 1 then

send("go 9e, 9n, 18w, 2s, 16e, 5s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, 2w, 3n, 2w, 3s, d")

elseif floor == 2 then

send("go 11s, 18e, 8n, 2w, 6s, 2w, 6n, 2w, 6s, 2w, 6n, 2w, 6s, 2w, 6n, 2w, 6s, 2w, 6n, d")

elseif floor == 3 then

send("go n, w, 2n, e, 2n, 2w, 5n, 2e, 3s, 2e, 3n, 14e, 6s, 10w, 2n, 8e, 2n, 10w, 3s, 2w, 2s, 2e, 2s, 2e, n, 10e, s, d")

elseif floor == 4 then

send("go 9s, 18w, 2n, 16e, 2n, 16w, 2n, 16e, 2n, 13w, d")

elseif floor == 5 then

send("go 2n, 15e, 8n, 18w, 4s, 2e, 2n, 2e, 2s, 2e, 2n, 2e, 2s, 2e, 2n, 2e, 2s, 2e, 2n, 2e, 4s, 16w, 4s, d")

elseif floor == 6 then

send("go 8s, 6e, 2n, 4w, 2n, 11e, 2s, 5w, 2s, 10e, 2n, 3w, 2n, 3e, 2n, 16w, 2n, d")

elseif floor == 7 then

send("go 16e, 2n, 16w, 2n, 16e, 2n, 16w, 2n, 16e, 2n, 18w, 9s, d")

elseif floor == 8 then

send("go 9s, 18e, 18n, 16w, 16s, 14e, 14n, 12w, 12s, 10e, 10n, 8w, 8s, 6e, 6n, 4w, 4s, 2e, 2n, d")

elseif floor == 9 then

echo("\nAlready on 9th floor.\n")

floor = floor - 1

end

floor = floor + 1

**floor**is then equal to

**2**. So the first IF statement isn't being activated. Why?

Thanks for any help!