Skip to content

Macro examples

Oliver Tseng edited this page Mar 17, 2021 · 2 revisions

Presentation.ubam

# Example presentation
# Press Q key to stop the presentation
# Press Space key to go to next passage

config.mainText = "WEB"

:TOP

SCREEN:::1:::Rom 5:8, Rom 5:12:::font-size:1.5em;margin-left:50px;margin-right:50px;color:red

. pause 60

SCREEN:::1:::John 3:16-17:::font-size:1.5em;margin-left:50px;margin-right:50px;color:magenta

. pause 60

Goto TOP

If.ubam

config.test = 0

:top

if config.test == 0
. displayMessage equals 0
elif config.test == 1
. displayMessage equals 1
else
. displayMessage not 0 or 1
fi

if config.test == 3
goto end
fi

config.test = config.test + 1

goto top

:end

. displayMessage Done!

Study.ubam

BIBLE:::MPB:::John 1:1, Acts 1:1, Rev 1:1

.leftHalfScreenWidth
. displayMessage Verses to study
Clone this wiki locally