SentinelSomething like
bind 3 "+melee"
alias +melee "slot3; unbind MOUSE2"
bind 2 "+secondary"
alias +secondary "slot2; bind MOUSE2 +attack2"
bind 1 "+primary"
alias +primary "slot1; bind MOUSE2 +attack2
Having bind-commands within quotes is generally a bad idea (dont know why exactly, but apparently it might cause some problems). Something like this should work better:
bind mouse2 "clicktoggle"
bind 1 "slot1, alias clicktoggle clickon"
bind 2 "slot2, alias clicktoggle clickon"
bind 3 "slot3, alias clicktoggle clickoff"
alias clicktoggle "+attack2"
alias clickon "+attack2"
alias clickoff ""
I'm on mobile too, but I think that should work