RTB_RegisterPref(PrefName, PrefCategory, Pref, PrefType PrefMinimum PrefMaximum, ModName, DefaultValue, RequiresRestart, HostOnly, callback(I don't know what this means)
Here's an example:
RTB_RegisterPref("Integer 1","Integers","$Integer1","Int 0 500","Script_Integers","250",0,0,0);