I have a trigger in my game where a "chest" is seen on the ground by a player. If that player's dexterity is lower than 14, they are not capable of opening the chest. So that player will "say openTheChest" out to the room. This "openTheChest" string is used as a trigger by other player's to signal to them to open the chest ... so long as their dexterity is sufficiently high.
All of this works.
My only complaint is that the "say" messages get a bit spammy, so I'm using a script that calls a function that does DeleteLines(2) to get rid of the say message spam. (All say messages span 2 lines, so that's why I'm deleting 2 lines and not 1.)
Again, this works great as well.
However, every time DeleteLines(2) runs, it causes the MUSHclient window to scroll "up" 1 space.
So I'm wondering if I can run a command right after DeleteLines(2) that will make the window scroll down 1 space to correct for this scrolling issue? Or is something I can do with DeleteLines(2) that will correct the scroll up before it ever happens?
Hopefully this is clear.
All of this works.
My only complaint is that the "say" messages get a bit spammy, so I'm using a script that calls a function that does DeleteLines(2) to get rid of the say message spam. (All say messages span 2 lines, so that's why I'm deleting 2 lines and not 1.)
Again, this works great as well.
However, every time DeleteLines(2) runs, it causes the MUSHclient window to scroll "up" 1 space.
So I'm wondering if I can run a command right after DeleteLines(2) that will make the window scroll down 1 space to correct for this scrolling issue? Or is something I can do with DeleteLines(2) that will correct the scroll up before it ever happens?
Hopefully this is clear.