随机刷怪怎么弄的
比如设置10个不同的怪物,如何用脚本随机刷出其中一只功能: 从文件中随机获取一行字符串
格式:GetRandomText 文件路径 变量(S0--S99) 指定行(0-10000)
说明:没有指定行时随机取某一行的字符串.
例如:随机取一行字符串到S10中.
[@Main]
#IF
#ACT
GetRandomText ..\QuestDiary\测试.txt S10
SendMsg 5 取出的字符串是:<$STR(S10)>
例如:取特定行的字符串.
[@Main]
#IF
#ACT
GetRandomText ..\QuestDiary\测试.txt S10 5
SendMsg 5 取出的字符串是:<$STR(S10)> 感谢楼上的回复
页:
[1]