shortcut.tin 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. #alias {beep} {#echo {\a\}};
  2. #event {TIME 08:55} {#echo <129>准备保卫!!!<299>};
  3. #event {TIME 15:55} {#echo <129>准备保卫!!!<299>};
  4. #event {TIME 20:25} {#echo <129>准备保卫!!!<299>};
  5. #event {TIME 20:55} {#echo <129>准备保卫!!!<299>};
  6. #event {TIME 07:55} {#echo <129>准备答题!!!<299>};
  7. #event {TIME 19:55} {#echo <129>准备答题!!!<299>};
  8. #alias {bwcx} {
  9. #local keyword {%1};
  10. #if { "$keyword" == "" && "$char[档案][门派]" != "" } {
  11. #local keyword {$char[档案][门派]};
  12. };
  13. #class bwcx open;
  14. #high {^天下争霸第%*$keyword%*$} {light magenta};
  15. #action {^开始后,自动安排好三天后的比武。$} {bwcx.return};
  16. #action {^等等,系统喘气中......$} {bwcx.retry};
  17. #alias {bwcx.retry} {#delay bwcx.retry {bwcx} 5};
  18. #alias {bwcx.return} {#class bwcx kill};
  19. #class bwcx close;
  20. xtt.Send {bwcx};
  21. };
  22. #alias chat-ren-song {
  23. chat.TuneOn chat;
  24. chat* admit $user[id];
  25. chat* xuanwu;
  26. chat* sob $user[id];
  27. chat* cry $user[id];
  28. chat* cry;
  29. chat* weak;
  30. };
  31. #alias chat-shuang {
  32. chat.TuneOn chat;
  33. chat* massage $user[id];
  34. chat* shuang;
  35. chat* shuang $user[id];
  36. chat* shuang;
  37. };
  38. #alias chat-zb {
  39. chat.TuneOn chat;
  40. chat* unme $user[id];
  41. chat* unme;
  42. chat* mark $user[id];
  43. chat* mark;
  44. chat* bud $user[id];
  45. };
  46. #alias chat-sz {
  47. chat.TuneOn chat;
  48. chat $user[name]动作妩媚,朝你微微一笑,使出了「美人三招」!;
  49. chat $user[name]使完「贵妃回眸」,想起英雄三招,意犹未尽,又出三招!;
  50. chat $user[name]使完「小怜横陈」,想起自己历经劫难已是武学大家,不由得豪气干云,又出三招!;
  51. chat $user[name]使完「飞燕回翔」,想起多年召蛇心得,心血来潮,自创三招!;
  52. chat $user[name]一共向你使出了一十八招!;
  53. };
  54. load-lib sync;
  55. #alias {i-all} {
  56. #class i-all open;
  57. #action {^你身上id为%*的东西有下面这些:{|ID=i-all}$} {#line gag};
  58. #action {^你身上没有id为%*的东西。{|ID=i-all}$} {#line gag};
  59. #action {^[命令进入缓冲]{|ID=i-all}$} {#line gag};
  60. #action {^{>|}%s{|ID=i-all}$} {#line gag};
  61. #class i-all close;
  62. i sword;
  63. i blade;
  64. i dagger;
  65. i staff;
  66. i needle;
  67. i flute;
  68. i whip;
  69. i axe;
  70. i spear;
  71. i hammer;
  72. i halberd;
  73. i hook;
  74. i ring;
  75. i necklace;
  76. i armor;
  77. i cloth;
  78. i boots;
  79. i shield;
  80. i surcoat;
  81. i wrists;
  82. i hands;
  83. i head;
  84. i waist;
  85. i armet;
  86. i bracer;
  87. i cape;
  88. i gauntlet;
  89. i belt;
  90. i mask;
  91. i cuirass;
  92. i pauldron;
  93. i cuisse;
  94. sync.Wait {#class i-all kill};
  95. };
  96. #alias {ii} {
  97. #class i-all open;
  98. #action {^(%s%d) (绑)} {#line gag};
  99. #class i-all close;
  100. i-all;
  101. };
  102. #alias {cgem} {do 3 pickgem %1; combine gem; pack gem};
  103. #alias jd jianding;
  104. #alias tichun {
  105. #class tichun open;
  106. #action {^你目前的修为还可以再转换%%1点内力变为真气。$E} {#delay 0 {xtt.Send {tichun %%1}}} {9.500};
  107. #class tichun close;
  108. #delay 1 {xtt.Send {tichun $char[HP][当前内力]}};
  109. };
  110. #gag {向红豆打听有关『%*』的消息。$E};
  111. #action {^请直接输入感恩之语:$TELNET[GA]$} {
  112. xtt.DisableAllCommands false;
  113. #line oneshot #alias {^%*{|ID=xiang}$} {#send %%0; xtt.UndoDisableAllCommands} {1.001};
  114. };
  115. #action {^播放短视频%*……$E} {
  116. #class short-video open;
  117. #var short-video.hp {$char.HPSummarize.Echo};
  118. #var char.HPSummarize.Echo {从不};
  119. #line quiet #ignore tickers on;
  120. #action {^%*{|id/short-video}$} {
  121. #if { "%%1" == "{视频损坏。|停止播放视频。|视频播放完毕。.*}" } {
  122. #var char.HPSummarize.Echo {$short-video.hp};
  123. #line quiet #ignore tickers off;
  124. #class short-video kill;
  125. };
  126. } {1.100};
  127. #class short-video close;
  128. };
  129. #alias {^short_video{| .*}$} {#send short_video%1};
  130. #gag {~^%c%s%c$};
  131. #action {^>%s$} {#line gag};
  132. #gag {^├{(─|┼)+}┤$};
  133. #alias kk {look %0; lookin %0; follow %0; killall %0};
  134. #action {^你瞬间感到了危险临近,奸细就在附近!$E} {killall} {9.500};
  135. #action {^一支铜雀轻轻地落在你的面前,你可以选择下列任务系列中一组:$E} {
  136. xtt.DisableAllCommand;
  137. } {9.999};
  138. #action {^如果你愿意和对方进行比试,请你也对张 三(zhang san)下一次 biwu(accept) zhang指令。$E} {
  139. #local wimpy {@defaultNum{@env.Get{wimpy};10}};
  140. #if { $wimpy > 10 } {
  141. env.Set wimpy 10;
  142. };
  143. #if { @char.IsBusy{} } {halt};
  144. #if { $char[HP][气血百分比] < 99 } {yun recover};
  145. #if { $char[HP][精神百分比] < 99 } {yun regenerate};
  146. accept zhang san;
  147. };
  148. #action {^你一顿棍棒乱揍,看来杀手有点怕你了。$E} {halt;quan} {9.500};
  149. #action {^( 蒙面杀手似乎十分疲惫,看来需要好好休息了。)$E} {halt;ask killer about 认输} {9.999};
  150. #action {^( 蒙面杀手已经陷入半昏迷状态,随时都可能摔倒晕去。)$E} {halt;ask killer about 认输} {9.999};
  151. #action {^你要进入哪间储物柜?$E} {
  152. #line gag;
  153. enter $user[id];
  154. find;
  155. } {9.500};
  156. #action {^你仔细地将鹿皮袋绑在腰间。$E} {put shi zi in lupi dai} {9.500};
  157. #action {^你捡起一把玉石子。$E} {put shi zi in lupi dai} {9.500};
  158. #action {^你从%*搜出一把玉石子。$E} {put shi zi in lupi dai} {9.500};
  159. #action {^没有经过通传,任何人等不得擅闯都统治府。$E} {ask shiwei about 通传} {9.999};
  160. #action {^你因为种种原因停了下来,可以用walk继续进行。$E} {#delay 1 {xtt.Send {walk}}} {9.500};
  161. #action {^艄公说“到啦,上岸吧”,随即把一块踏脚板搭上堤岸。$E} {out} {9.500};
  162. #action {^大车停稳了下来,你可以下车(xia)了。$} {xia} {9.500};
  163. #action {^任务已经失败,离开请输入(leave %*)。$} {leave %1} {9.500};
  164. #action {^任务完成,想要离开请输入(leave %*)。$} {leave %1} {9.500};
  165. #action {^你掉转船头,迅速的划回到了鄱阳湖边。$E} {
  166. give xiang to ren;
  167. } {9.500};
  168. #action {^临走之际,你忽然发现一个盒子看起来有些特殊!$E} {
  169. open box;
  170. } {9.999};
  171. #subst {~\e[34m} {\e[94m};
  172. #alias {list-armors} {
  173. #class rbz-list-armors open;
  174. #action {^┏所有防具列表┓$} {
  175. #class rbz-list-armors open;
  176. #gag {^│%d%s│%*│1%s│$};
  177. #action {^│%d%s│%*(%*)%*│2%s│$} {
  178. #if { "%%%4" != "{ring|necklace}" } {
  179. #line gag;
  180. };
  181. };
  182. #high {^%*({ring|necklace})%*$} {light magenta};
  183. #action {^└─────┴────────────────────┴──┴──┴───┘$} {
  184. #class rbz-list-armors kill;
  185. #buffer end;
  186. };
  187. #class rbz-list-armors close;
  188. };
  189. #action {^你不是刚看过么?$} {
  190. #class rbz-list-armors kill;
  191. };
  192. #class rbz-list-armors close;
  193. list armors;
  194. };
  195. #action {^你向当铺买下一件%*之%*。$} {
  196. #switch {"%2"} {
  197. #case {"盔"} {jianding head};
  198. #case {"护腕"} {jianding wrists};
  199. #case {"披风"} {jianding surcoat};
  200. #case {"手套"} {jianding hands};
  201. #case {"铠甲"} {jianding armor};
  202. #case {"袍"} {jianding cloth};
  203. #case {"腰带"} {jianding waist};
  204. #case {"盾"} {jianding shield};
  205. #case {"靴"} {jianding boots};
  206. #case {"项链"} {jianding necklace};
  207. #case {"戒指"} {jianding ring};
  208. #case {"剑"} {jianding sword};
  209. #case {"刀"} {jianding blade};
  210. #case {"杖"} {jianding staff};
  211. #case {"鞭"} {jianding whip};
  212. #case {"斧"} {jianding axe};
  213. #case {"枪"} {jianding spear};
  214. #case {"锤"} {jianding hammer};
  215. #case {"戟"} {jianding halberd};
  216. #case {"匕"} {jianding dagger};
  217. #case {"针"} {jianding needle};
  218. #case {"钩"} {jianding hook};
  219. #case {"箫"} {jianding flute};
  220. #default {#0};
  221. };
  222. };
  223. #alias {get-all} {
  224. #local idc {};
  225. #local idx {};
  226. #local nop {1};
  227. #foreach {*gMapRoom[objs][]} {idx} {
  228. #local id {$gMapRoom[objs][$idx][id]};
  229. math.Inc idc[$id];
  230. #if { "$id" == "{corpse|skeleton}" } {
  231. get gold from $id $idc[$id];
  232. get silver from $id $idc[$id];
  233. get gem from $id $idc[$id];
  234. #local nop {0};
  235. };
  236. #elseif { "$id" == "{cash|gold|silver}" } {
  237. get $id;
  238. #local nop {0};
  239. };
  240. #elseif { "$id" == "{tian|ze|huo|lei|feng|shui|shan|di} {jin|mu|bing|jing|sui|ri|yue|gu|yu|jiao|jia}" } {
  241. get $id;
  242. #local nop {0};
  243. };
  244. };
  245. #if { $nop } {
  246. warnLog 没发现什么值钱的东西。;
  247. };
  248. };
  249. #alias {kill-npc} {
  250. #local obj {};
  251. #if { "$gFocusNPC[id]" != "" } {
  252. #local obj {@map.Room.GetObjByID{{$gFocusNPC[id]}}};
  253. };
  254. #elseif { "$gFocusNPC[name]" != "" } {
  255. #local obj {@map.Room.GetObjByName{{$gFocusNPC[name]}}};
  256. };
  257. #elseif { "$gFocusNPC[title]" != "" } {
  258. #local obj {@map.Room.GetObjByName{{%*};{$gFocusNPC[title]}}};
  259. };
  260. #if { "$gFocusNPC" != "" && "$obj" == "" } {
  261. warnLog 你想要杀谁?;
  262. #return;
  263. };
  264. #if { ( "$gFocusNPC[id]" == "" || "$obj[id]" == "$gFocusNPC[id]" )
  265. && ( "$gFocusNPC[name]" == "" || "$obj[name]" == "$gFocusNPC[name]" )
  266. && ( "$gFocusNPC[title]" == "" || "$obj[title]" == "$gFocusNPC[title]" ) } {
  267. killall $obj[id];
  268. };
  269. #else {
  270. killall;
  271. };
  272. };
  273. #alias {part_abandon} {xtt.Send {part_abandon %0}} 9.0;
  274. #alias {yz_zj} {xiaoyao.Goto 镇江的广场};
  275. #alias {zj_yz} {xiaoyao.Goto 扬州的中央广场};
  276. #nop Windows Terminal 的默认配色里,绿色和亮绿色不是很容易分清楚,所以这里加亮一下。;
  277. #action {^你曾经踏足的区域:$E} {
  278. #class visited-map open;
  279. #sub {~[1;32m} {[1;35m};
  280. #action {~^%*%+1S%+1..s%c{|ID=visited-map}$} {#0};
  281. #class visited-map close;
  282. ga.ClassWait {#class visited-map kill};
  283. };
  284. #alias {fix-chat-back} {
  285. #class fix-chat-back open;
  286. #line oneshot #alias {chat* back} {
  287. prompt.Note <131>最近 back 表情泛滥成灾,请大家<531>尽快删除<099><131>自己 ID 配置文件中的 chat* back。<299>;
  288. };
  289. #delay fix-chat-back {
  290. #class fix-chat-back kill;
  291. } 10;
  292. #class fix-chat-back close;
  293. };
  294. fix-chat-back;