Not sure I understand what you want, either .. but here's my guess:
Code:

on *:INPUT:#:pass:{
  set $+(%,$2) $3-
  halt
}