2ÈÖÌܤϡʥ¹¥¯¥í¡¼¥ë¥Ð¡¼¤Ï»È¤¤¤Þ¤»¤ó¤¬¡Ëhsedsdk¤òÍøÍѤ¹¤ì¤Ð²Äǽ¤Ç¤¹¡£
#include "hsedsdk.as"
#module
#deffunc hsed_setcaretline int nLine, int idFooty
hsed_capture
if stat : return 1
sendmsg hIF@hsedsdk, _HSED_SETCARETLINE@hsedsdk, idFooty, nLine
return 0
#global
hsed_exist
if stat {
hsed_getactfootyid idFooty // ¸½ºß¥¢¥¯¥Æ¥£¥Ö¤ÊFooty¤ÎID¤ò¼èÆÀ
hsed_getlines nLines, idFooty // ¸½ºß¥¢¥¯¥Æ¥£¥Ö¤ÊFooty¤Î¹Ô¿ô¤ò¼èÆÀ
mes "¹Ô¿ô¤Ï" + nLines
repeat nLines, 1
hsed_setcaretline cnt, idFooty // cnt¹ÔÌܤ˥¥ã¥ì¥Ã¥È¤ò°ÜÆ°
if stat : break
wait 5
loop
mes "½ªÎ»¤·¤Þ¤·¤¿¡£"
} else {
mes "¥¹¥¯¥ê¥×¥È¥¨¥Ç¥£¥¿¤¬µ¯Æ°¤·¤Æ¤¤¤Þ¤»¤ó¡£"
}
stop
1¤Ïexec¤Ç¼ÂÁõ²Äǽ¤Ç¤·¤ç¤¦¡£
# µ¡¼ï°Í¸ʸ»ú¡Ê´Ý°Ï¤ß¿ô»ú¡Ë¤Ï·Ç¼¨ÈĤÇÍøÍѤ·¤Ê¤¤Êý¤¬Îɤ¤¤È»×¤¤¤Þ¤¹¡£