Text this: State and diplomacy under Tiou Sultan