Hi
there is already a command to add and remove curse:
/c remote.call('death_curses','CursePlayer','player_name','reduced_moving_speed')
-< change player name and curse name here
/c remote.call('death_curses','RemoveCurse','player_name')
I can create the extend on next version