My trigger is this:
^You raise a level\!\! Your gain is\: (.*?)\/(.*?) hp\, (.*?)\/(.*?) m\, (.*?)\/(.*?) mv (.*?)\/(.*?) prac\.$
I have another trigger that checks my level when I do the title command and saves it as the variable @level. I want it to increase the @level variable when I level, and then send "Level @level: %1/%3/%5/%7" to the mud. So far I can get it to work if I just put it in the trigger, but I can't change the @level variable and I have no scripting experience to know how to handle the variables sent to the function.
^You raise a level\!\! Your gain is\: (.*?)\/(.*?) hp\, (.*?)\/(.*?) m\, (.*?)\/(.*?) mv (.*?)\/(.*?) prac\.$
I have another trigger that checks my level when I do the title command and saves it as the variable @level. I want it to increase the @level variable when I level, and then send "Level @level: %1/%3/%5/%7" to the mud. So far I can get it to work if I just put it in the trigger, but I can't change the @level variable and I have no scripting experience to know how to handle the variables sent to the function.