Pentti
2007-03-23 16:03:20
I made these for Runescapes new world switching thing in login screen. I have tested them and all of the functions worked for me. Please tell me what do yuo like about them and if these works for you. :D And thanks for Boreas, he helped me with tpoint and tboxes.
Function WorldListScreen:Boolean; //Returns true if in World list screen.
Function GetWorldScreen:Boolean; //Opens up World list screen.
Function FixWorldList:Boolean; //Sorts worlds by world number.
Function CloseWorldScreen:Boolean; //Closes World select screen.
Function SortWorldsBy(Which: String):Boolean; //Sorts worlds by given value (Number, Players, Location, Type).
Function SelectWorld(Order: Integer):Boolean; //Selects world by worldlist order.
Function ChooseWorldNumber(WorldNumber:Integer):Boolean; //Selects world by world number.
Function SelectLeast:Boolean; //Selects world with least people.
Function SelectMost:Boolean; //Selects world with most people.