I'm trying to familiarize myself with MUSHclient (instead of my ancient DOS MudMaster setup), as it seems to have all the things I need, among them an Infobar (similar to MudMaster). But I just can't get the Infobar to work correctly, for example I'm trying to set an alias to update and display the current value of the variable @target in the Infobar as follows:
- Alias: tar *
- Send:
world.SetVariable("target", "%1")
world.InfoClear()
world.InfoBackground("green")
world.InfoColour("yellow")
world.InfoFont("FixedSys", 12, 0)
world.Info("Target: ", "@target")
- Send To: Script
The above alias does set the value of @target with what I input (e.g. "tar joe"), but instead of this it displays the previous value of @target in the Infobar. It's always whatever @target was previously, never the one I just set... Anyone able to help? Thanks in advance.