Changin the content of a variable

Posted by AquaBrother on Tue 10 Jan 2012 11:59 AM — 3 posts, 15,275 views.

Brazil #0
Hi, is there a way to change the content of a variable?

I mean, lets suppose i have a variable like that:

Variable MOB: "A BIG WOLF"

Now lets say that i want to make a search in this variable and change the word "big" for "small", is it possible? or even changing the word "big" for %1 to make it work with a trigger.

hehe, if there's any other way to work with it i'd accept any suggestions...

Thx for your time





Australia Forum Administrator #1
A Lua variable or a MUSHclient variable? Can you show example code / trigger?
Brazil #2
Nevermind Nick, thx for your time, i just had found the string.gsub i needed, hehe, thank you anyway...

Peace!