寫法一:練習使用一些函式的寫法。
Pattern :
『(%1)』進步了~((%d)00~)!
Commands:
#var skillname %1
#if (%1 = "自創技能") {#temp {你成功使用第%d級的『~*自創技能~*』} {myskill
list}}
skillchlist="迴槍刺擊|焚城槍法|打狗棒法|百花棍法|小醉拳|佛山無影腳|美女拳法|如來
神掌|黯然銷魂掌|閃華裂光拳|太極拳|少林拳法|六脈神劍|飄雲杖法|冰燄杖法|星光杖法|
半月斬|傲寒六訣|牙突|落日刀法|王者之路|刃擊術|闇影之牙|舞燄之斧|戰龍之斧|焚鋒之
章|飄零之卷|彩虹七色劍|水蓮劍法|武當劍法|騎士風斬法|*自創技能*|2-sword-as-1"
skillenlist="return lance|burn-city lance|pkdog rod|flower rod|drink fist|fosan
foot|girl fist|zulai fist|shadow fist|sankalekouken|taichi fist|soulin
fist|6-vessels swordray|fly-cloud wand|icefire wand|starlight wand|hafe
blade|6-cold blade|toothstab|sunset blade|king-road|battle dagger|shadow
teeth|fire axe|war-dragon axe|burnedge chapter|drift volume|rainbow
slash|water-lotus slash|wudon slash|knight slash|myskill|2-sword-as-1"
#if (%ismember(@skillname,@skillchlist) = 0) {#noop} {en
%item(@skillenlist,%ismember(@skillname,@skillchlist)}
寫法二:簡單便利的寫法。
Pattern :
『(%1)』進步了~((%d)00~)!
Commands:
#var skillname %1
skillchlist="迴槍刺擊|焚城槍法|打狗棒法|百花棍法|小醉拳|佛山無影腳|美女拳法|如
來神掌|黯然銷魂掌|閃華裂光拳|太極拳|少林拳法|六脈神劍|飄雲杖法|冰燄杖法|星光杖
法|半月斬|傲寒六訣|牙突|落日刀法|王者之路|刃擊術|闇影之牙|舞燄之斧|戰龍之斧|焚
鋒之章|飄零之卷|彩虹七色劍|水蓮劍法|武當劍法|騎士風斬法|*自創技能
*|2-sword-as-1"
#case %ismember(@skillname,@skillchlist) {en return lance} {en burn-city
lance} {en pkdog rod} {en flower rod} {en drink fist} {en fosan foot} {en
girl fist} {en zulai fist} {en shadow fist} {en sankalekouken} {en taichi
fist} {en soulin fist} {en 6-vessels swordray} {en fly-cloud wand} {en
icefire wand} {en starlight wand} {en hafe blade} {en 6-cold blade} {en
toothstab} {en sunset blade} {en king-road} {en battle dagger} {en shadow
teeth} {en fire axe} {en war-dragon axe} {en burnedge chapter} {en drift
volume} {en rainbow slash} {en water-lotus slash} {en wudon slash} {en knight
slash} {en myskill
myskill list} {en 2-sword-as-1} {#noop}
寫法二:便於增加技能的小改版
Pattern :
『(%1)』進步了~((%d)00~)!
Commands:
#var skillname %1
skilloldlist="迴槍刺擊|焚城槍法|打狗棒法|百花棍法|小醉拳|佛山無影腳|美女拳法|
如來神掌|黯然銷魂掌|閃華裂光拳|太極拳|少林拳法|六脈神劍|飄雲杖法|冰燄杖法|星光
杖法|半月斬|傲寒六訣|牙突|落日刀法|王者之路|刃擊術|闇影之牙|舞燄之斧|戰龍之斧|
焚鋒之章|飄零之卷|彩虹七色劍|水蓮劍法|武當劍法|騎士風斬法|*自創技能*|"
skillnewlist="2-sword-as-1" "直接從這裡新增技能!"
skillchlist=@skilloldlist@skillnewlist "將skilloldlist和skillnewlist放一起"
#case %ismember(@skillname,@skillchlist) {en return lance} {en burn-city
lance} {en pkdog rod} {en flower rod} {en drink fist} {en fosan foot} {en
girl fist} {en zulai fist} {en shadow fist} {en sankalekouken} {en taichi
fist} {en soulin fist} {en 6-vessels swordray} {en fly-cloud wand} {en
icefire wand} {en starlight wand} {en hafe blade} {en 6-cold blade} {en
toothstab} {en sunset blade} {en king-road} {en battle dagger} {en shadow
teeth} {en fire axe} {en war-dragon axe} {en burnedge chapter} {en drift
volume} {en rainbow slash} {en water-lotus slash} {en wudon slash} {en knight
slash} {en myskill
myskill list} {en 2-sword-as-1} {#noop}
"^從這裡放入新技能!"