I started a similar thread earlier for modifying a plugin which went nowhere. Building my own works except I cannot get it to display whether I am evil/good etc.. This is a simple trigger I created in mush client pasted below, under that is the error I am receiving and I don't understand. The problem is the %6, but I do not know what I should put there instead.
Triggers on: HP: 2969 (2969) GP: 447 (447) XP: 1448113 A: good B: 11%
[string "Trigger: "]:7: attempt to concatenate global 'good' (a nil value)
stack traceback:
[string "Trigger: "]:7: in main chunk
Triggers on: HP: 2969 (2969) GP: 447 (447) XP: 1448113 A: good B: 11%
^HP\: (.*?) \((.*?)\) GP\: (.*?) \((.*?)\) XP\: (.*?) A\: (.*?) B\: (.*?)\%$
sFont="Arial"
world.InfoClear()
world.Info("HP: " .. %1 .. " \(" .. %2 .. "\) ")
world.Info(" GP: " .. %3 .. " \(" .. %4 .. "\) ")
world.Info(" XP: " .. %5)
world.Info(" A:" .. %6)
world.Info(" B: " .. %7 .."\%")
[string "Trigger: "]:7: attempt to concatenate global 'good' (a nil value)
stack traceback:
[string "Trigger: "]:7: in main chunk