Immortal [thend@Chanops.Immortal.Org] has joined #Friends
Lets say that was the user we want to ban the ident.
thend is the part of the user ident now we can type
/mode #Friends +b *!thend@*
Remember this command will also result ban on anyone has "thend" ident not just me :P