Here you can find:
Ultimate Doom Builder Reference Manual
Ultimate Doom Builder UDBScript Documentation