I need to capture a command before it is executed and change send to ssend:
original command:
/msg LuckyCharms xdcc send #639
new command
/msg LuckyCharms xdcc ssend #639

I came accross this
on 1:input:*:{ msg $target $replace($1-, send, ssend) | haltdef }

but this does not execute.

how do i do it?
thanks