English
Chinese
  yTin Online Help  

  Home (english) | Home (chinese) | Downloads | Sample scripts | Online help | Utilities | FAQs | Discussions/Messages | Mud&links | My Progs | Mirrors |
macro

format:            #macro {keycode1, keycode2} {macro_to_be_done}
                     #macro 1

Example:
#macro {67, 47} {go west}
#macro {24, 47} {go east}
1st line means when Numlock, press '7' on Numpad will send go west,
2nd line means when nun-unlock, press '7' on Numpad will send go east.
Currently Alt/Ctrl/Shift states are not detected.

#macro 1   ==> dynamicly test the keycodes for the key u pressed,
                     press ESC key to back to normal mode.

See also: unmacro
ps: Macros under unix is underway (thinking about compatibility with Windows).

See also: #boss