Scripting in Nexus with GMCP
I play on Nexus and I consider myself to be reasonably good with basic scripting. However, to be better at combat and even bashing, I think I need more help with GMCP related commands.
Nexus help on GMCP is very light, so is their documentation on functions.
I was wondering if someone could help me with this.
Thank you in advance.
Nexus help on GMCP is very light, so is their documentation on functions.
I was wondering if someone could help me with this.
Thank you in advance.
0
Comments
On the Examples page, there's a link to an example GMCP handling function, GMCP Data.
So, my original Nexus system has been setup for mage. All my keybinds are as such used for those commands. To setup for another profession, is there a way to re-use the keybinds without destroying my old ones??
gmcp.Char.Status.prof stores what your current profession is. Maybe you can use that to toggle which 'version' your keybind uses?
I use Mudlet, but my keybind looks something like:
currProf = gmcp.Char.Status.prof
if currProf == "Summoner" then
----- use summoner thing
elseif currProf == "Defiler" then
----- use deflier thing
end
(may vanish for periods of time)
can someone confirm if it works as intended?