It checks the top of the code first, therefore that'll need to be at the topCode:if(item_id == 7811){ if(wildyLevel > 19 && isInWilderness(absX, absY, 1)); sM("You cannot teleport above level 20 wilderness!"); }else{ deleteItem(7811, 1); setAnimation(794); toX = 3222; toY = 3222; }