im using final devo 2.4, and im making some teleports in the emote tab, and i have this
Code:
case 168: //first emote
sendMessage("Welcome home.");
teleportToX = 3088 - misc.random(3);
teleportToY = 3500 - misc.random(3);
if(!isInWilderness(absX, absY, 1)) {
sendMessage("You cannot teleport under level 20 wilderness.");
return;
}
break;
and whenever i teleport out of wildy, it returns and gives the messege, but when im in wildy, it does the teleport. how do i make it the opposite? i tried many other things..