Moved world if statements, Added corrected id and world variables for messages.