im trying to create a new macro in 'leftclickup' section in my macro list. i have no VBA knowledge. i have made the new macro and opened up the VBA software but now im stuck. i want to write some code code that would do the following:

if Variable (test) is 1 - this is a PLC boolean marker
display a message box with some text. i.e "test"

i know this is probably very simple but so am i.