VCE - Variable Conditional Events. There is a variable that checks what item you are weilding and in another output box you put what the weapon has to be. I forget the actual variable, hold on.
use the variable replacer "<var:pl:currentitem>