Plugin Variables & Script Variables

Posted by Gore on Thu 15 Mar 2012 08:04 PM — 2 posts, 12,873 views.

#0
Hello everyone! It's been awhile but I started mudding again.

Quick question - The last mushclient I used was somewhere around 4.2... Is there a new/better way to reference plugin variables from my script file?

For instances, I track my balance/equilibrium in my healing plugin file with a variable called balance. What's the easiest way to check it with my script file when doing non-healing related stuff?

Thanks.

- Matt
Australia Forum Administrator #1
You can use GetPluginVariable.

Nowadays CallPlugin can return multiple values. You could use that to get stuff back.

Also there is a PPI module (plugin-to-plugin interface) that lets you, in effect, call a function from one plugin to another one.