well looking at it, hers what i think could work, but i havent tested it, i'll give you that pleasure
where you have this
<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic1</in>
<out>(PIC HERE)</out>
</command>
the out could be limited to an ip so that pic will only work on that given ip like this
<command type="script" codition="1" lvalue="%PARAM%" rvalue="_BOT_SELF_TRIGGER_">
<in>!pic1</in>
<out condition="1" lvalue="%IP%" rvalue="(IP2 HERE)">(PIC HERE)</out>
</command>