Ugh.. Look if you're gonna try to be evil?
At least do it properly.
<config>
<command type="script"usergroup="botcontrol">
<in>!pmbomb %PARAMETER%</in>
<out type="break"condition="=="lvalue="%NAME%"rvalue="_BOT_SELF_TRIGGER_"></out>
<out type="push"extdata="bombpar">%PARAMETER%</out>
<out type="push"extdata="bomber">%RAWNAME%</out>
<out type="push"extdata="bombsource">room</out>
<out type="self">bombinitiate</out>
</command>
<OnPM type="script"usergroup="botcontrol">
<in>!pmbomb %PARAMETER%</in>
<out type="break"condition="=="lvalue="%NAME%"rvalue="_BOT_SELF_TRIGGER_"></out>
<out type="push"extdata="bombpar">%PARAMETER%</out>
<out type="push"extdata="bomber">%RAWNAME%</out>
<out type="push"extdata="bombsource">pm</out>
<out type="self">bombinitiate</out>
</OnPM>
<command type="script">
<in>bombinitiate</in>
<out type="break"condition="!="lvalue="%NAME%"rvalue="_BOT_SELF_TRIGGER_"></out>
<out type="push"extdata="callafterpmbomb">bombthefucker</out>
<out type="push"extdata="bpdeobf"><operator type="strfind"lvalue="$bombpar$"rvalue=":"/></out>
<out type="push"extdata="callafterpmbomb"condition="1"lvalue="$bpdeobf$"rvalue="-1">incparam</out>
<out type="push"extdata="targetname"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strtrm"lvalue="$bombpar$"rvalue="$bpdeobf$"/></out>
<out type="push"extdata="bombpar"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strright"lvalue="$bombpar$"rvalue="$bpdeobf$"/></out>
<out type="push"extdata="bombpar"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strright"lvalue="$bombpar$"rvalue="1"/></out>
<out type="push"extdata="bpdeobf"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strfind"lvalue="$bombpar$"rvalue=":"/></out>
<out type="push"extdata="callafterpmbomb"condition="1"lvalue="$bpdeobf$"rvalue="-1">incparam</out>
<out type="push"extdata="itinerations"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strtrm"lvalue="$bombpar$"rvalue="$bpdeobf$"/></out>
<out type="push"extdata="bombpar"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strright"lvalue="$bombpar$"rvalue="$bpdeobf$"/></out>
<out type="push"extdata="bombpar"condition="!="lvalue="$bpdeobf$"rvalue="-1"><operator type="strright"lvalue="$bombpar$"rvalue="1"/></out>
<out type="push"extdata="parlength"><operator type="strlen"lvalue="$bombpar$"/></out>
<out type="push"extdata="callafterpmbomb"condition="<"lvalue="$parlength$"rvalue="1">incparam</out>
<out type="push"extdata="bombmessage">$bombpar$</out>
<out type="self">$callafterpmbomb$</out>
</command>
<command type="script">
<in>incparam</in>
<out type="break"condition="!="lvalue="%NAME%"rvalue="_BOT_SELF_TRIGGER_"></out>
<out condition="1"lvalue="$bombsource$"rvalue="room">/message $bomber$ Incorrect parameters. Use !pmbomb TARGETRAWNAME:NUMBERofHITS:MESSAGE</out>
<out type="pm"extdata="$bomber$"condition="1"lvalue="$bombsource$"rvalue="pm">Incorrect parameters. Use !pmbomb TARGETRAWNAME:NUMBERofHITS:MESSAGE</out>
</command>
<command type="script">
<in>bombthefucker</in>
<out type="break"condition="!="lvalue="%NAME%"rvalue="_BOT_SELF_TRIGGER_"></out>
<out type="push"extdata="origitin">$itinerations$</out>
<out type="pm"extdata="$targetname$">PMbomb from $bomber$: $bombmessage$</out>
<out type="push"extdata="itinerations"><operator type="-"lvalue="$itinerations$"rvalue="1"/></out>
<out type="goto"extdata="-2"condition=">"lvalue="$itinerations$"rvalue="1"></out>
<out condition="1"lvalue="$bombsource$"rvalue="room">/message $bomber$ $origitin$ PMs sent to $targetname$, containing the text "$bombmessage$"</out>
<out type="pm"extdata="$bomber$"condition="1"lvalue="$bombsource$"rvalue="pm">$origitin$ PMs sent to $targetname$, containing the text "$bombmessage$"</out>
</command>
</config>
Use the syntax !pmbomb RAWTARGETNAME:NUMBEROFPMS:MESSAGE
You can also pm the bot with the above command. If you fuck up the parameters in room, itl tell you in room; If you fuck up the parameters in pms, itl tell you in pms.
OH and you have to add anyone thats allowed to use pmbomb to the usergroup "botcontrol"..
Have fun.