Scratch does not have the ability to define reporter blocks, but they can be simulated using variables.
define...Change...tothedescriptionyouwant.Addrequiredparametersifneeded....setreturnto...
createacustommultiplicationblockdefineMultiplyn1n2setreturnton1*n2stopthisscriptwhenclickedaskWhatisthefirstnumber?andwaitsetnum1toansweraskWhatisthesecondnumber?andwaitsetnum2toanswerMultiplynum1num2sayreturn
You could also create a boolean:
definedoesn1equaln2?setreturnton1=n2stopthisscript
Then you could insert it into an if statement
ifreturn=truethenDosomethingend