Syntax: sail [to]
Syntax: cshow
Syntax: sail list
]]>
if "%2" == "list" then
if "%1" == "to " then
Note ("That isn't an island!")
else
for i=0,34 do
Note (list[i])
end -- for
end -- if
else
Send ("sail ", island["%2"])
end -- if
if "%1" == "on" then
Note ("AUTOSAIL is now enabled.")
EnableAlias ("sail", true)
elseif "%1" == "off" then
Note ("AUTOSAIL is now disabled.")
EnableAlias ("sail", false)
end -- if
if "%1" == "" then
Execute ("sail list")
else
ColourNote ("silver", "", "Coordinates to ", "darkred", "", "%1", "silver", "", ": ", "silver", "", island["%1"])
end -- if