input game variable to plugin

I use some actor hud plugin
and or out there use fixe size param to adjust the width lenght
my question is
is therer a way to input like game actor hp/4
in to the plugin paramitor field

what I want is the more leght hp bar or stamina bar
when the actor stat grow up in map action game

thank you

ps. I use mog_hunter actor hud
and try to look in his script but...I don’t realy know how to do code...
try to change those that but no luck yet
only if the plugin caters for you entering a formula instead of a number.

Hopefully someone who has Mog's plugins and knows how to code will be able to take a look and let you know. I don't like downloading a massive file of every single plugin just to get to one.
Code:
//==============================
// * tool Sys Init Battler
//==============================
var _mog_ctSys_gBat_toolSysInitBattler = Game_Battler.prototype.toolSysInitBattler;
Game_Battler.prototype.toolSysInitBattler = function() {   
    _mog_ctSys_gBat_toolSysInitBattler.call(this);
    this._chrono.ct = 100;
    this._chrono.maxct = 100;
    this._chrono.ctFd = 0;
    this._chrono.ctSpeed = 1;
    this._chrono.ctDashLimit = 30;
    this._chrono.ctDash = 0;
    this._chrono.ctWait = 0;
    this._chrono.ctWaitDash = 0;
    this._chrono.ctIsDashing = false;
};

hi
I found this and try to change some thing like
this._chrono.maxct = $gameActors.actor(1).mmp;

think it will get the param before work


but I got maximum call stack size exceeded
yes I don't know why and how to put it right
if any one could help thank you

Original thread: https://forums.rpgmakerweb.com/threads/input-game-variable-to-plugin.105827/