I made the following changes to your plugin, and have attached the source..
Made the plugin have seperate configuration for 2 different teams defined with the teamindex variable.
New configuration layout..
Code:
sm_hpregeneration_enable 1
sm_hpregeneration_respawn 0
sm_hpregeneration_bots 0
sm_hpregeneration_mode 2
sm_hpregeneration_team1 2
sm_hpregeneration_tickrate1 1
sm_hpregeneration_health1 125
sm_hpregeneration_amount1 2
sm_hpregeneration_team2 3
sm_hpregeneration_tickrate2 1
sm_hpregeneration_health2 200
sm_hpregeneration_amount2 6
It's more or less the same options except, for 2 seperate teams..
I also modified the events so that on spawn, a players health is automatically set to sm_hpregeneration_health(1/2) (depending on which team they're on)..
The sm_hpregeneration_team2 value assigns which team is team1 and which is team2 using the team index. You can use mani admin ma_teamindex to find out which index number each team is (this is how i did it).
It's ugly, but it works. You may want to clean up the code if you decide to integrate it into your plugin. Keep all the rights to it, I just wanted something that worked for 2 teams separately.