Never mind figured that out too.
def outline_text(text, x, y):
graphics.set_pen(graphics.create_pen(int(OUTLINE_COLOUR[0]), int(OUTLINE_COLOUR[1]), int(OUTLINE_COLOUR[2])))
graphics.text(text, x - 1, y - 1, -1, 2)
graphics.text(text, x, y - 1, -1, 2)
graphics.text(text, x + 1, y - 1, -1, 2)
graphics.text(text, x - 1, y, -1, 2)
graphics.text(text, x + 1, y, -1, 2)
graphics.text(text, x - 1, y + 1, -1, 2)
graphics.text(text, x, y + 1, -1, 2)
graphics.text(text, x + 1, y + 1, -1, 2)
graphics.set_pen(graphics.create_pen(int(MESSAGE_COLOUR[0]), int(MESSAGE_COLOUR[1]), int(MESSAGE_COLOUR[2])))
graphics.text(text, x, y, -1, 2)