北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
查看: 13325|回复: 15

my bot

[复制链接]
发表于 2007-11-23 15:01:00 | 显示全部楼层 |阅读模式
我用的bot

atoy.mud

61.9 KB, 下载次数: 3521

北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-23 15:02:53 | 显示全部楼层

Re:my bot

沙发,顶!
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-25 09:56:47 | 显示全部楼层

Re:my bot

有个问题,用i看物品清单触发交物品给npc,如果身上有2个以上的物品会同时都交了,碰到这种情况我都要先i一下,把命令复制了,自己到npc那交,请问有没有什么好办法解决这个问题呢?
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-25 19:06:16 | 显示全部楼层

Re:my bot

对于diesel的那个问题可以用#t- xx;获取item;#wa xxxx;#t+ xx来实现啊,也就是只使用一次取item的命令然后delay一下,然后再打开取item的trigger就好了。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 19:24:48 | 显示全部楼层

Re:my bot

goodman atoy
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 19:48:57 | 显示全部楼层

Re:my bot

看了下
总体做的很简洁,很人性化
但是,几个地方没看明白
1、vv 没有这个alias
2、变量number是什么东东
3、10a 10b等怎么记啊
4、同diesel的问题,dugu的解释没看明白
其实我想做个alias (s;e;s;give @taskitem to @tasknp),就是在用@taskitem判断@tasknp这里不知道该怎么搞好
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 19:51:28 | 显示全部楼层

Re:my bot

atoy是不都是一次拿一个item啊
我都是一次把一个地方的拿完
然后比如tasknpc跑到哪里,那么在这个地方的item顺便拿
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 20:02:31 | 显示全部楼层

Re:my bot

拿、送物品的一组trigger,我是杀NPC拿东西。

#KEY ` {#t+ job_taskid;i}
#ALIAS gtask {set brief 1;s;e;s;set brief 2}
#ALIAS btask {set brief 1;n;w;n;set brief 2}
#FUNC taskobjid {Guan yin}
#FUNC taskobjname {断龙刀|玉佩|香罗帕|天蚕衣|菩提杖|佩剑|紫霞袍|淑女剑|木剑|竹剑|头巾|四书五经|算筹|鱼杆|虎符|毒经|玉女剑|玉石子|葵花宝典|柴刀|带血的丝巾|布袋|九阴真经|锄头|烧饼|水缸|化缘钵|破碗|神木鼎|骰子|盟主令|绣花针|家谱|先天罡气谱|花名册|易筋经|官印|蝌蚪译文|掌门指环|念珠|白扇|包袱|太极剑}
#TRIGGER {(*)死了。} {look corpse} {job_taskget} 548
#TRIGGER {你将(*)的尸体扶了起来背在背上。} {look corpse} {job_taskget} 548
#TRIGGER {%s(*)~((*)~)} {#if %ismember(%1,@taskobjname) {taskobjid=%2;alias gt give %lower(@taskobjid) to $*;get %lower(@taskobjid) from corpse;}} {job_taskget} 548
#TRIGGER {你从(*)的尸体身上搜出(*)} {#cw white;#t- job_taskget;drop corpse} {job_taskget} 548
#TRIGGER {^紫霞袍~(Zixia pao~)} {#t- job_taskid;alias gg give zixia pao to yue buqun;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^竹剑~(Zhu jian~)} {#t- job_taskid;alias gg give zhu jian to yang guo;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^掌门指环~(Zhi huan~)} {#t- job_taskid;alias gg give zhi huan to xu zhu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^玉石子~(Yu shizi~)} {#t- job_taskid;alias gg give yu shizi to huang yaoshi;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^玉女剑~(Yunv jian~)} {#t- job_taskid;alias gg give yunv jian to xiao longnu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^玉佩~(Yu pei~)} {#t- job_taskid;alias gg give yu pei to yue lingshan;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^鱼杆~(Yu gan~)} {#t- job_taskid;alias gg give yu gan to yuyin;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^绣花针~(Xiuhua zhen~)} {#t- job_taskid;drop xiuhua zhen} {job_taskid} 548
#TRIGGER {^易筋经~(Yijin jing~)} {#t- job_taskid;alias gg give yijin jing to jiumo zhi;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^先天罡气谱~(Gangqi pu~)} {#t- job_taskid;alias gg give gangqi pu to wang chongyang;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^盟主令~(Mengzhu ling~)} {#t- job_taskid;alias gg give mengzhu ling to chu yunfei;gg} {job_taskid} 548
#TRIGGER {^水缸~(Shui gang~)} {#t- job_taskid;alias gg give shui gang to qiu qianren;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^神木鼎~(Shenmu ding~)} {#t- job_taskid;alias gg give shenmu ding to ding chunqiu;gg} {job_taskid} 548
#TRIGGER {^菩提杖~(Puti zhang~)} {#t- job_taskid;alias gg give puti zhang to damo laozu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^淑女剑~(Shunv jian~)} {#t- job_taskid;alias gg give shunv jian to ning zhongze;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^天蚕衣~(Tiancan yi~)} {#t- job_taskid;alias gg give tiancan yi to li qiushui;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^算筹~(Suan chou~)} {#t- job_taskid;alias gg give suan chou to yinggu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^香罗帕~(Luo pa~)} {#t- job_taskid;alias gg give luo pa to duan yu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^头巾~(Tou jin~)} {#t- job_taskid;alias gg give tou jin to guo fu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^骰子~(Sai zi~)} {#t- job_taskid;alias gg give sai zi to wei xiaobao;gg} {job_taskid} 548
#TRIGGER {^太极剑~(Taiji jian~)} {#t- job_taskid;alias gg give taiji jian to zhang sanfeng;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^四书五经~(Sishu wujing~)} {#t- job_taskid;alias gg give sishu wujing to zhu xi;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^烧饼~(Shao bing~)} {#t- job_taskid;alias gg give shao bing to sha gu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^佩剑~(Pei jian~)} {#t- job_taskid;alias gg give pei jian to linghu chong;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^念珠~(Nian zhu~)} {#t- job_taskid;alias gg give nian zhu to miejue shitai;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^破碗~(Po wan~)} {#t- job_taskid;alias gg give po wan to poor man;gg} {job_taskid} 548
#TRIGGER {^带血的丝巾~(Si jin~)} {#t- job_taskid;alias gg give si jin to lang huitou;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^化缘钵~(Huayuan bo~)} {#t- job_taskid;alias gg give huayuan bo to tuobo seng;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^木剑~(Mu jian~)} {#t- job_taskid;alias gg give mu jian to zhang wuji;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^蝌蚪译文~(Kedou yiwen~)} {#t- job_taskid;alias gg give kedou yiwen to lu gaoxuan;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^九阴真经~(Jiuyin zhenjing~)} {#t- job_taskid;alias gg give jiuyin zhenjing to guo jing;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^花名册~(Huaming ce~)} {#t- job_taskid;alias gg give huaming ce to chen;gg} {job_taskid} 548
#TRIGGER {^虎符~(Hu fu~)} {#t- job_taskid;alias gg give hu fu to wu sangui;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^家谱~(Jia pu~)} {#t- job_taskid;alias gg give jia pu to murong fu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^官印~(Guan yin~)} {#t- job_taskid;alias gg give guan yin to duo long;gg} {job_taskid} 548
#TRIGGER {^毒经~(Du jing~)} {#t- job_taskid;alias gg give du jing to li mochou;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^葵花宝典~(Kuihua book~)} {#t- job_taskid;alias gg give kuihua book to lin pingzhi;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^断龙刀~(Duanlong dao~)} {#t- job_taskid;alias gg give duanlong dao to tian boguang;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^锄头~(Chu tou~)} {#t- job_taskid;alias gg give chu tou to nong fu;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^柴刀~(Chai dao~)} {#t- job_taskid;alias gg give chai dao to kan chairen;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^布袋~(Bu dai~)} {#t- job_taskid;alias gg give bu dai to hong qigong;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^包袱~(Bao fu~)} {#t- job_taskid;alias gg give bao fu to xiang wentian;gtask;gg;btask} {job_taskid} 548
#TRIGGER {^白扇~(Bai shan~)} {#t- job_taskid;alias gg give bai shan to ouyang ke;gtask;gg;btask} {job_taskid} 548
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 20:06:30 | 显示全部楼层

Re:my bot

ct 按'`',每次只送身上的第一个物品。

丁春秋和陈近南需要跑过去gg。绣花针自动drop。
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2007-11-26 20:07:45 | 显示全部楼层

建议不用get all from NPC拿物品

rt
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2024-11-28 02:39 AM , Processed in 0.013823 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表