long ( slider-create long panel-id string callback string label long value long min-value long max-value long width optional long x optional long y)
Creates a horizontal slider item on the given panel. The callback may be the empty string ("'') to denote no callback, or a word or string for the function name. The function will be called when the slider value is changed, with the slider item ID as argument.
If no position is given, the panel item is placed after the last item. The value -1 may be passed to denote a default, so that the position may be left unspecified and the size given.