Enabling and disabling folders
Posted: Mon Aug 10, 2015 4:20 am
I want to be able to go from lesserform to Dragonform in Achaea and trigger enabling and disabling the relevant trigger and alias folders, but I can't make it work.
I'm not a coder so my understanding is very limited. I just want something simple that doesn't requiring re-coding everything, which is what I think I would have to do if I use GMCP to check my race all the time.
I set up a trigger so that, on attaining Dragonform, this will happen:
disableTrigger("RunewardenTriggers")
disableAlias("RunewardenAliases")
enableTrigger("DragonTriggers")
enableAlias("DragonAliases")
When returning to lesserform, this will happen:
disableTrigger("DragonTriggers")
disableAlias("DragonAliases")
enableTrigger("RunewardenTriggers")
enableAlias("RunewardenAliases")
The folder names are correct. The commands look correct to me, as well. I don't understand why this doesn't work. Curiously, other people have tried it and find that it works very well for them. I'm glad about that but frustrated, too. I can lock and unlock the folders manually, but not with the code.
Now, Mudlet doesn't always behave properly for me when I do the exact same things that other players do. I can't post an ad, for example, with a list of items in it. So, it could be that enabling and disabling folders simply isn't possible for me.
I don't want to uninstall and reinstall Mudlet. The last time I did that, I had to re-create all my triggers and aliases because the new version wouldn't important the saved file.
Is there another way?
I'm not a coder so my understanding is very limited. I just want something simple that doesn't requiring re-coding everything, which is what I think I would have to do if I use GMCP to check my race all the time.
I set up a trigger so that, on attaining Dragonform, this will happen:
disableTrigger("RunewardenTriggers")
disableAlias("RunewardenAliases")
enableTrigger("DragonTriggers")
enableAlias("DragonAliases")
When returning to lesserform, this will happen:
disableTrigger("DragonTriggers")
disableAlias("DragonAliases")
enableTrigger("RunewardenTriggers")
enableAlias("RunewardenAliases")
The folder names are correct. The commands look correct to me, as well. I don't understand why this doesn't work. Curiously, other people have tried it and find that it works very well for them. I'm glad about that but frustrated, too. I can lock and unlock the folders manually, but not with the code.
Now, Mudlet doesn't always behave properly for me when I do the exact same things that other players do. I can't post an ad, for example, with a list of items in it. So, it could be that enabling and disabling folders simply isn't possible for me.
I don't want to uninstall and reinstall Mudlet. The last time I did that, I had to re-create all my triggers and aliases because the new version wouldn't important the saved file.
Is there another way?