...met.
Basically, I want to do:-
Code:
if(ratio > minRatio && time > maxTime) {
action();
}
Assuming that minRatio is the "Min,%" from the configuration, "maxTime" is the "Time,h" from the configuration, "ratio" is the current torrent's ratio and "time" is the current torrent's time running.
How would I go about doing this? Or do I have to modify the code of the plugin? (I don't really know PHP standards, so, I don't want to mess it up).
Basically, I want to do:-
Code:
if(ratio > minRatio && time > maxTime) {
action();
}
Assuming that minRatio is the "Min,%" from the configuration, "maxTime" is the "Time,h" from the configuration, "ratio" is the current torrent's ratio and "time" is the current torrent's time running.
How would I go about doing this? Or do I have to modify the code of the plugin? (I don't really know PHP standards, so, I don't want to mess it up).