Here ya go:
/script base = BASE_MOVEMENT_SPEED
/script cur, run, fly, swim = GetUnitSpeed("player")
/script ChatFrame1:AddMessage(string.format("Your current maximal speeds are: running %g%%, flying %g%%, swimming %g%%.", run/base*100, fly/base*100, swim/base*100))