Added in 1.9.0
$serverip
Returns current active server IP address.