Triggers/Aliases/Timers on a disconnected world.

Posted by Panaku on Thu 05 Sep 2013 12:08 AM — 4 posts, 19,098 views.

#0
I'm back and once again trying something ridiculous. After running into issues with the screen flickering horribly in my last few scripts I've come up with a way to fix that issue and get all my mini windows working.

Is there anyway to have triggers/timers/aliases work on a disconnected world?

Using this post (http://mushclient.com/forum/?id=7991) as a reference I have created a dummy world. My plugin takes all information sent from the game and redirects it into the dummy world, and I've added in the second plugin so that I can send commands to the game via the dummy world.

Because of the way the prompt works in the game I play I have to add a newline at the end of it in order to get the prompt in the dummy world to update properly, this is fine. However the newline is not blank, it has '>' at the very end which would normally not be a problem except I can't use a trigger to omit this line.
Australia Forum Administrator #1
Triggers and aliases work on a disconnected world. Timers will if you check "Active when disconnected".
#2
I determined why the triggers weren't working. Since the dummy world isn't actually receiving the information from the mud it can't catch triggers, but I if place the triggers into the world that is actually connected they fire. So I have that working, but it's not as easy as I had hoped -- still works though.

Next problem I ran into is the Keypad doesn't work in the dummy world. I can't seem to figure out why, whether I'm just stupid or it's disabled unless connected.

Another issue I ran into is I'm using your Add_Newline_To_Prompt plugin which is working as means to get the prompt to update instantly instead of needing to wait for another command but sometimes it thinks a certain line is my prompt and adds a new line in the wrong place, one specific instance is everytime I use the 'score' command.

I'm going to work on getting the Admin to add in a configuration option to have the game send a newline after each prompt anyways.

Either way I'm one step closer to the final goal.
Australia Forum Administrator #3
Triggers don't work on Notes, only on MUD output.

The keypad could send an alias which would match.