I think he would write 'salam' not 'selam'
In real Indonesian, 'salam' means greeting, just like when you say 'hello','dear', or even 'sincerely'. In arabic, it can be 'salaam', or 'shalom' in hebrew, which mean 'peace be upon you'.
It's different when you use it with ber- and -an, 'bersalaman' means 'shake hand'
And, yeah, like the other's answers, 'selam' is dive, 'menyelam' = diving