您当前的位置:首页 > 其他技术 > 其他技术

倚天服器端的部分脚本值介绍

本文出处:网游动力作者:本站发布时间:2009-07-27阅读次数:
$n=name, $N=name, $p=item name, %d=number, %s=string 脚本值介绍

$n=name 此脚本值为 NPC 名. 比如说 药店的老板. 首先出现的是将要激活脚本的对象.

$N=name 此脚本值是 确定激活此脚本. 执行下一步.

$pitem name 此脚本值是 以确定此NPC 脚本

%d=number 此脚本值 是 脚本开始执行. 

%s=string 此脚本值 是 脚本执行停止.

脚本范例:

eng "While in 7 days, You will get roses from monsters.n"
"For commemoration of your happy marriage, I will given"
"you prize money when you bring roses to me. Only 7 daty!n"
"n"
"10 Roses : 300,000 Elkn"
" 7 Roses : 150,000 Elkn"
" 5 Roses : 100,000 Elkn"
" 3 Roses : 50,000 Elkn"
"n"
"There's a few black roses in monsters. If both man and womann"
"gets the black rose, bring'em to me! I will give great swordn"
"and shield to you!n"
"n"
"Note: Both man and woman has to get same number of roses.n"
" I won't count in both.";