Contagious States

I need a script that allows you to make states that can spread to characters, kind of like a virus status ailment. I remember seeing a script that performed this a while back, does anyone know it?
http://yed.yami.moe/yed-infective-state/
Making one shouldn't be hard.

How do you want it to spread? Randomly to another character each turn? (one infected character will infect another character each turn's end)

Is it re-infective(will it renew a state when re-applied)?

Well, here's a quick script:

The states will randomly effect other characters and it will re-infect characters that already has the state (renewing the timer) at each turn's end.

edit:

Link: http://forums.rpgmakerweb.com/index.php?/topic/52009-infective-states/
Hmmm, do you think it would be possible for me to specify the chance of it spreading? If so, that would work.

Also this is for RGSS3, Victor
Edited the script to add chance control, you can now set up the chance of infection at each turns end.

Note that the default state resistant still works here, if the actor has resistant to that state, the state will not work on him/her.

Script Link:

http://forums.rpgmakerweb.com/index.php?/topic/52009-infective-states/
Thank you, this thread can be closed now.
You're welcome!

Original thread: https://forums.rpgmakerweb.com/threads/contagious-states.51996/