网站地图
新开私服
57私服首页 网游私服外挂 今日传奇3私服 今日奇迹私服 新开传奇私服 最新私服IP

在自己的传奇服务器中添加NPC


奇迹私服,传奇私服首页 作者:Cash 发表时间:2004-3-3 10:19:15

【更多今日新开奇迹私服点这里查看...】

在自己的传奇服务器中如何添加NPC
[@main]
#IF
check [001] 1
#ACT
goto @away
break

#IF
checklevel 255
#SAY
Welcome <$USERNAME>.[BACKSLASH]
I will give you items to suit your class :)[BACKSLASH] [BACKSLASH]

<Thanks/@next>[BACKSLASH]
<Hmm no ta/@exit>[BACKSLASH]

#ELSESAY
You do not appear to be the lord,[BACKSLASH]
or his Companion![BACKSLASH]
Go away![BACKSLASH] [BACKSLASH]

<Ok/@exit>

[@away]
<$USERNAME>, why do you return so soon?[BACKSLASH]
I have given you your items, what you did with them[BACKSLASH]
is none of my concern, please leave, i have a bad head![BACKSLASH] [BACKSLASH]

<Sorry/@exit> :-( [BACKSLASH]

[@next]
You will have to tell me your gender, i have poor eyesight[BACKSLASH]
and poor hearing... [BACKSLASH] [BACKSLASH]
<Male/@male>[BACKSLASH]
<Female/@female>[BACKSLASH]
<Some other time?/@exit>

[@male]
#IF
checkjob Warrior
#ACT
give DragonSlayer 1
give PowerRing 2
give GreenBead 1
give SteelArmour(m)
give BlackIronHelm 1
give BlackIronGlove 2
give ParalysisRing 1
SET [001] 1
#SAY
A big strong warrior such as you <$USERNAME>[BACKSLASH]
should have these items![BACKSLASH]

<Thankyou!/@exit>

#ELSEACT
goto @mwiz

[@mwiz]
#IF
checkjob wizard
#ACT
give DragonStaff 1
give DragonRobe(M) 1
give DragonBracelet 2
give DemonicBells 1
give SpiritRing 2
give VioletRing 2
give ProtectionRing 1
give RecoveryRing 1
SET [001] 1
#SAY
You are a proud wizard <$USERNAME>,
Take these items![BACKSLASH] [BACKSLASH]

<Thanks!/@exit>

#ELSEACT
goto @mtao

[@mtao]
#IF
checkjob taoist
#ACT
give SoulSabre 1
give TitanArmour(M) 1
give TitanRing 2
give SoulBracelet 2
give SoulNecklace 1
give Amulet 5
SET [001] 1
#SAY
Aha! a well trained taoist deserves these items![BACKSLASH] [BACKSLASH]
<Thanks/@exit>

[@female]
#IF
checkjob Warrior
#ACT
give DragonSlayer 1
give PowerRing 2
give GreenBead 1
give SteelArmour(f)
give BlackIronHelm 1
give BlackIronGlove 2
give ParalysisRing 1
SET [001] 1
#SAY
A big strong warrior such as you <$USERNAME>[BACKSLASH]
should have these items![BACKSLASH]

<Thankyou!/@exit>

#ELSEACT
goto @fwiz

[@fwiz]
#IF
checkjob wizard
#ACT
give DragonStaff 1
give DragonRobe(f) 1
give DragonBracelet 2
give DemonicBells 1
give SpiritRing 2
give VioletRing 2
give ProtectionRing 1
give RecoveryRing 1
SET [001] 1
#SAY
You are a proud wizard <$USERNAME>,
Take these items![BACKSLASH] [BACKSLASH]

<Thanks!/@exit>

#ELSEACT
goto @ftao

[@ftao]
#IF
checkjob taoist
#ACT
give SoulSabre 1
give TitanArmour(F) 1
give TitanRing 2
give SoulBracelet 2
give SoulNecklace 1
give Amulet 5
SET [001] 1
#SAY
Aha! a well trained taoist deserves these items![BACKSLASH] [BACKSLASH]
<Thanks/@exit>


Sorry, but for some reason this forum erases backslashes,
copy this into note pad, then press ctrl+h (REPLACE)
type in the search field "[BACKSLASH]"
type in the replace with field (bah silly forum) "backslash", but not the word :-P
then hit replace all.

that should be it done, u should see all [BACKSLASH] replaced b an actual backslash.

~EDITED~ = I made a booboo and posted the wrong version, this is the full complete version, now includes female items

IF ANYONE KNOWS HOW TO CHECK GENDER, PRAY TELL FELLOW AMIGO ;-)

Edited by notmeagain - Sep 27 2002, 09:03 PM


Lord Posted: Sep 28 2002, 11:07 AM


Lordie


Group: Members
Posts: 94
Member No.: 127
Joined: 11-September 02


I just modified notmeagains script, so u can just copy and paste in the NPC file...
thnx for helping ppl out ..

Script by: notmeagain

CODE

[@main]
#IF
check [001] 1
#ACT
goto @away
break

#IF
checklevel 255
#SAY
Welcome <$USERNAME>.\
I will give you items to suit your class :)\
<Thanks/@next><Hmm no ta/@exit>
#ELSESAY
You do not appear to be the lord,or his Companion!Go away!\
<Ok/@exit>

[@away]
<$USERNAME>, why do you return so soon?I have given you your items, what you did with themis none of my concern, please leave, i have a bad head!\
<Sorry/@exit> :-(
[@next]
You will have to tell me your gender, i have poor eyesightand poor hearing... \ <Male/@male><Female/@female><Some other time?/@exit>

[@male]
#IF
checkjob Warrior
#ACT
give DragonSlayer 1
give PowerRing 2
give GreenBead 1
give SteelArmour(m)
give BlackIronHelm 1
give BlackIronGlove 2
give ParalysisRing 1
SET [001] 1
#SAY
A big strong warrior such as you <$USERNAME>should have these items!
<Thankyou!/@exit>

#ELSEACT
goto @mwiz

[@mwiz]
#IF
checkjob wizard
#ACT
give DragonStaff 1
give DragonRobe(M) 1
give DragonBracelet 2
give DemonicBells 1
give SpiritRing 2
give VioletRing 2
give ProtectionRing 1
give RecoveryRing 1
SET [001] 1
#SAY
You are a proud wizard <$USERNAME>,
Take these items!\
<Thanks!/@exit>

#ELSEACT
goto @mtao

[@mtao]
#IF
checkjob taoist
#ACT
give SoulSabre 1
give TitanArmour(M) 1
give TitanRing 2
give SoulBracelet 2
give SoulNecklace 1
give Amulet 5
SET [001] 1
#SAY
Aha! a well trained taoist deserves these items!\ <Thanks/@exit>

[@female]
#IF
checkjob Warrior
#ACT
give DragonSlayer 1
give PowerRing 2
give GreenBead 1
give SteelArmour(f)
give BlackIronHelm 1
give BlackIronGlove 2
give ParalysisRing 1
SET [001] 1
#SAY
A big strong warrior such as you <$USERNAME>should have these items!
<Thankyou!/@exit>

#ELSEACT
goto @fwiz

[@fwiz]
#IF
checkjob wizard
#ACT
give DragonStaff 1
give DragonRobe(f) 1
give DragonBracelet 2
give DemonicBells 1
give SpiritRing 2
give VioletRing 2
give ProtectionRing 1
give RecoveryRing 1
SET [001] 1
#SAY
You are a proud wizard <$USERNAME>,
Take these items!\
<Thanks!/@exit>

#ELSEACT
goto @ftao

[@ftao]
#IF
checkjob taoist
#ACT
give SoulSabre 1
give TitanArmour(F) 1
give TitanRing 2
give SoulBracelet 2
give SoulNecklace 1
give Amulet 5
SET [001] 1
#SAY
Aha! a well trained taoist deserves these items!\ <Thanks/@exit>

相关新闻
[3-3] 关于私服中买到所有书和装备
[3-3] 用户命令
[3-3] 本站命令列表
[3-3] 清楚红名脚本
[3-3] 有关私服设置方面一些技术问题

免责声明:57sf.com登载此文出于传递更多信息之目的,并不意味着57sf.com赞同其观点或证实其描述
 
 Copyright 2004 57sf.com Corporation. All Rights. 奇迹私服版权所有传奇私服 热血江湖私服