Using HTTP_xxx names instead of 200/501
Removed example code
Removed doubled <ENTER>

Since <ENTER> is pressed automatically after the command is entered, there's no need to specify it in the command
Less verbose when waiting for command completion
Prefix console messages with current time info

New sub consolemsg(@)
Fixed scancode of apostrophe (', Shift+#)
Safety check: no partitions present

Check for sda partitions. Only continue script if there are 0 (zero) partitions.

Avoids destroying an already filled disk.
Terminate script if command was unsuccesful

Otherwise the script will loop "forever".
Testing internet connection using ping

Pacstrap fetches all packages from the internet, so it is useless to proceed when there's no internet available.
Install syslinux bootloader, modify syslinux configuration file
Added commands: Enabling swap, writing fstab
Fixed wrong scancode for ^
Added command: Check fstab file
Added commands: Modifying locale.conf, hostname, locale.gen, vconsole.conf