Enable Terminal / iterm2 sound notification exclusively
You can create separate profiles one with sound disabled (default) and one with sound enabled (for your weechat). These are available both in Terminal and iTerm2.

Terminal


iTerm2