I wanted a script that announced to my team what weapon I had dropped in TDM and CTF games, so I attempted to make one. It works in a practice game, but when I connect to a TDM/CTF server MOUSE4 drops the weapon without telling the team which weapon I'd dropped, but the null command still gets executed. Is there a reason why say_team doesn't work in my script when connected to a server? The following is the drop shotgun portion of the script:
bind MOUSE3 "+sg"
alias +sg "weapon 3"
alias -sg "bind MOUSE4 vstr dropsg"
set dropsg "dropweapon;say_team ^7Dropped ^3SG^7!;vstr null"
set null "bind MOUSE4 echo "