User Tools

Site Tools


scripting:samples:hiscoretable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:samples:hiscoretable [2023/04/17 17:29] mitscripting:samples:hiscoretable [2025/05/28 18:58] (current) – external edit 127.0.0.1
Line 4: Line 4:
 The script uses a module variable '$kScoreboardName' to identify the board.. you can change this to whatever you like and you can create multiple scoreboards just by using different names. The script uses a module variable '$kScoreboardName' to identify the board.. you can change this to whatever you like and you can create multiple scoreboards just by using different names.
  
-The example shows a board that stores times and the board is ordered+The example shows a board that stores times and the board is ordered so the lowest time is at the top of the score table.
  
 <code> <code>
 $kScoreboardName = "SampleHiscore" $kScoreboardName = "SampleHiscore"
  
-function HiscoreDisplay( $boardName )+function HiscoreDisplay( $boardName )
 { {
  osdcreate( OSDWINDOW,"HiscoresOSD", ""  osdcreate( OSDWINDOW,"HiscoresOSD", ""
scripting/samples/hiscoretable.1681752542.txt.gz · Last modified: (external edit)