Omit the above automatic scrolling keywords, and use ONLY this keyword instead if you want to let your LuaController control the scrolling behavior. scroll_step will immediately advance the last-displayed message by one character.scroll_speed followed by a decimal number (in the string, not a byte value) sets the time between scroll steps.stop_scroll does just what it says - it stops the auto-scroll timer.This is done in order to keep a constant visible speed (the text will still be colored properly though). The scroll action will spread across the line, and down a multi-line wall (just set a new, different channel on the first row you want to exclude), and will continue until stop_scroll or any displayable message is received.Īs it advances through the message, the scroll code will search through the message for a printable character, on each scroll step, basically stripping-out color code, and using just the last one before the new start position. start_scroll starts the automatic scrolling function, repeatedly moving the last displayed message to the left one character space each time the scroll timer runs out (and automatically restarting it, natch).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |