LotusScript is very similar to Visual Basic, code can usually be copied without modification. The difference is in the product-specific classes that are included in Lotus Notes and the other products.
In the case of Lotus Notes, there are classes to work with Notes databases, documents in those databases etc.
LotusScript allows the definition of user-defined types and classes, too, although it is not possible to inherit from the product-specific classes.