Missody系列-各人選單便民腳本

版主: Jason[A.K]

回覆文章
kimoyahoo
高級玩家
高級玩家
文章: 735
註冊時間: 週六 10月 26, 2002 10:26 am

Missody系列-各人選單便民腳本

文章 kimoyahoo » 週二 7月 08, 2003 7:10 pm

縮小時 如左上角
圖檔
放大時
圖檔

功能
1.可縮小放大
2.帶出 .friend跟.map 跟金錢
3.可查看本身狀況 (狀況表也可縮小放大,放大時顯示所有技能)

安裝方法:

1.在遊戲裡打上 .uo即可使用它
2.把 mainmenu.scp kimocharstat.scp chattexttentry.scp
3個檔存在 c:/sphere/script/ 裡


/////////////////////////////////////////////////////
// mainmenu.scp/////////////////////////////////
////////////////////////////////////////////////////
[FUNCTION uo]
src.dialog kimo_mainmenu
return 0
[FUNCTION uo1]
src.dialog kimo_mainmenu_max
return 0

[Dialog kimo_mainmenu]
0,0
nomove
noclose
//resizepic 5 5 9350 50 30
text 38 20 54 0
button 20 20 4033 10741 1 0 611
[Dialog kimo_mainmenu TEXT]
選單
[Dialog kimo_mainmenu button]
ONBUTTON=611
SRC.DIALOG kimo_mainmenu_max
RETURN 1


[Dialog kimo_mainmenu_max]
//noclose
//nodispose
0,0
nomove
noclose
PAGE 0
resizepic 10 15 9300 590 30
text 38 20 54 0
button 20 20 4033 10741 1 0 621
button 78 20 4033 10741 1 0 622
button 134 20 4033 10741 1 0 623
button 190 20 4033 10741 1 0 624
button 248 20 4033 10741 1 0 625
button 306 20 4033 10741 1 0 626
button 364 20 4033 10741 1 0 627
button 422 20 4033 10741 1 0 628
[Dialog kimo_mainmenu_max TEXT]
縮小 好友 地圖 閒聊 公會 交易 密語 狀態 金錢 <src.src.findid(i_gold).amount>
[Dialog kimo_mainmenu_max BUTTON]
ONBUTTON=621
Dialog kimo_mainmenu
return 0
ONBUTTON=622
src.friend
return 0
ONBUTTON=623
src.map
return 0
ONBUTTON=624
src.DIALOG d_chat_textentry
return 0
ONBUTTON=625
src.DIALOG d_guide_textentry
return 0
ONBUTTON=626
src.DIALOG d_trade_textentry
return 0
ONBUTTON=627
src.DIALOG d_m1_textentry
return 0
ONBUTTON=628
src.dialog d_charstat_small
return 0
[EOF]
//////////////////////////////////////////

///////////////////////////////////////////
//kimocharstate.scp/////////////////
//////////////////////////////////////
[EVENTS e_kills_total]
ON=@DEATH
ACT.TAG.TOTALKILLS <EVAL 0<ACT.TAG.TOTALKILLS>+1>
[Dialog D_charstat_small]
0,0
NOCLOSE
resizepic 50 10 9270 304 225
resizepic 60 20 9350 285 205

text 88 30 54 0
text 228 30 84 1
text 70 60 74 2
text 70 85 74 3
text 70 110 74 4
text 70 135 74 5
text 70 160 74 6
text 200 60 74 7
text 200 85 74 8
text 200 110 74 9
text 200 135 74 10
text 200 160 74 11
text 70 185 54 12
text 200 185 74 13
text 247 202 54 14
gumppic 68 30 4033
button 320 25 3 3 1 0 72
button 300 25 42 42 1 0 73
button 320 205 4033 10741 1 0 74
[Dialog D_charstat_small TEXT]
角色基本狀況
<memoryfindtype(memory_guild).link.name> 公會
姓名 : <name>
年齡 : <EVAL <AGE>/360000>0歲
性別 : <src.SEX 男/女 >
善惡 : <KARMA>
名聲 : <Fame>
力量 : <src.hits> / <src.str>
敏捷 : <src.dex> / <src.stamina>
智慧 : <src.int> / <src.mana>
物理防御 : <src.ac>
魔法防御 : <src.MagicResistance> %
金額 : <src.src.findid(i_gold).amount>元
負重 : <EVAL <weight>/10> / <EVAL <weightmax>/10>
技能詳細
[Dialog D_charstat_small Button]
ONBUTTON 72
SRC.UO
RETURN 0
ONBUTTON 73
SRC.dialog D_charstat
RETURN 0
ONBUTTON 74
SRC.dialog D_charstat
RETURN 0


[Dialog D_charstat]
0,0
NOCLOSE
resizepic 50 10 9270 524 470
resizepic 60 20 9350 505 450
//resizepic 370 410 9300 185 55
//resizepic 65 25 9300 130 30
//resizepic 65 180 9300 195 30
//resizepic 65 310 9300 195 30
//resizepic 315 25 9300 195 30
//resizepic 315 180 9300 230 30
//resizepic 50 85 9300 505 525
text 88 30 54 0
text 228 30 84 1
text 70 60 74 2
text 70 85 74 3
text 70 110 74 4
text 70 135 74 5
text 70 160 74 6
text 200 60 74 7
text 200 85 74 8
text 200 110 74 9
text 200 135 74 10
text 200 160 74 11
text 90 185 54 12
text 70 215 84 13
text 70 240 84 14
text 70 265 84 15
text 70 290 84 16
text 160 215 84 17
text 160 240 84 18
text 160 265 84 19
text 160 290 84 20
text 250 215 84 21
text 250 240 84 22
text 250 265 84 23
text 250 290 84 24
text 340 30 54 25
text 350 60 84 26
text 350 85 84 27
text 350 110 84 28
text 350 135 84 29
text 350 160 84 30
text 450 60 84 31
text 450 85 84 32
text 450 110 84 33
text 450 135 84 34
text 450 160 84 35
text 340 185 54 36
text 350 215 84 37
text 350 240 84 38
text 350 265 84 39
text 350 290 84 40
text 350 315 84 41
text 450 215 84 42
text 450 240 84 43
text 450 265 84 44
text 450 290 84 45
text 450 315 84 46
text 90 315 54 47
text 70 340 84 48
text 160 340 84 49
text 250 340 84 50
text 350 340 84 51
text 450 340 84 52
text 70 365 84 53
text 160 365 84 54
text 250 365 84 55
text 350 365 84 56
text 450 365 84 57
text 70 390 84 58
text 190 390 84 59
text 310 390 84 60
text 430 390 84 61
text 70 415 84 62
text 190 415 74 63
text 70 440 94 64
text 380 415 54 65
text 380 440 54 66
gumppic 68 30 4033
gumppic 70 185 4033
gumppic 320 30 4033
gumppic 320 185 4033
gumppic 70 315 4033
button 540 25 3 3 1 0 70
button 520 25 42 42 1 0 71
button 540 445 4033 10741 1 0 75
[Dialog D_charstat TEXT]
角色基本狀況
<memoryfindtype(memory_guild).link.name> 公會
姓名 : <name>
年齡 : <EVAL <AGE>/360000>0歲
性別 : <src.SEX 男/女 >
善惡 : <KARMA>
名聲 : <Fame>
力量 : <src.hits> / <src.str>
敏捷 : <src.dex> / <src.stamina>
智慧 : <src.int> / <src.mana>
物理防御 : <src.ac>
魔法防御 : <src.MagicResistance> %
謀生技能 - 熟練度 %
釣魚: <src.FISHING>
挖礦: <src.MINing>
冶鐵: <src.blacksmithing>
裁縫: <src.tailoring>
工藝: <src.tinkering>
木工: <src.carpentry>
砍材: <src.lumberjacking>
烹飪: <src.cooking>
乞討: <src.begging>
磨藥: <src.Alchemy>
偷竊: <src.stealing>
抄寫: <src.inscription>
戰鬥技能 - 熟練度 %
劍術: <src.swordsmanship>
刺槍: <src.fencing>
鎚類: <src.macefighting>
空拳: <src.wrestling>
魔法: <src.magery>
醫療: <src.healing>
射箭: <src.archery>
格檔: <src.parrying>
戰術: <src.tactics>
魔防: <src.MagicResistance>
戰鬥相關技能 - 熟練度 %
隱身: <src.hiding>
潛行: <src.stealth>
測隱: <src.DetectingHidden>
下毒: <src.poisoning>
馴獸: <src.taming>
解剖: <src.anatomy>
音樂: <src.musicianship>
挑撥: <src.provocation>
息怒: <src.peacemaking>
誘惑: <src.enticement>
其他技能 - 熟練度 %
製弓: <src.bowcraft>
放牧: <src.herding>
開鎖: <src.lockpicking>
露營: <src.camping>
製圖: <src.cartography>
聖言: <src.spiritspeak>
跟蹤: <src.tracking>
窺探: <src.snooping>
動物學: <src.animallore>
武器學: <src.armslore>
智力評估: <src.EvaluatingIntel>
法醫評估: <src.Forensics>
物品鑑定: <src.ItemID>
食物鑑定: <src.TasteID>
動物醫療: <src.veterinary>
技能總計 : <EVAL <SKILLTOTAL>/10>.<EVAL <skilltotal>-<EVAL <SKILLTOTAL>/10>*10>
總殺人數 : <TAG.TOTALKILLS> 人 累積死亡數 : <DEATHS>次
所持金額 : <src.src.findid(i_gold).amount>元
銀行存款 : <src.BANKBALANCE>元
[Dialog D_charstat Button]
ONBUTTON 70
SRC.UO
RETURN 0
ONBUTTON 71
SRC.dialog D_charstat_small
RETURN 0
ONBUTTON 75
SRC.dialog D_charstat_small
RETURN 0

[EOF]

//////////////////////////////////////
//chattexttentry.scp////////////////
/////////////////////////////////////

[DIALOG d_chat_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_chat_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
閒聊:
[DIALOG d_chat_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.chat <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog

//ONBUTTON=903
//RETURN 0
[DIALOG d_trade_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_trade_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
交易:
[DIALOG d_trade_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.trade <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
//ONBUTTON=903
//RETURN 0
[DIALOG d_guide_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_guide_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
公會:
[DIALOG d_guide_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.guide <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
//ONBUTTON=903
//RETURN 0
[DIALOG d_m1_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m1_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m1_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m1 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
//ONBUTTON=903
//RETURN 0
[DIALOG d_m2_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m2_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m2_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m2 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
[DIALOG d_m3_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m3_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m3_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m3 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
[DIALOG d_m4_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m4_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m4_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m4 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
[DIALOG d_m5_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m5_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m5_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m5 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog
[DIALOG d_m6_textentry]
0,0
nomove
noclose
//button 460 40 2120 2121 1 0 903
button 480 50 2075 2076 1 0 902
resizepic 10 43 9300 415 30
resizepic 60 43 9350 420 30
resizepic 10 15 9300 470 30
gumppic 20 20 4033
gumppic 78 20 4033
gumppic 134 20 4033
gumppic 190 20 4033
gumppic 248 20 4033
gumppic 306 20 4033
gumppic 364 20 4033
gumppic 422 20 4033
text 38 20 54 1
text 15 48 58 2
textentry 65 50 600 20 1152 1 0 // 4 text fields now

[DIALOG d_m6_textentry TEXT]
<VAR.BLANKLINE>
縮小 好友 地圖 閒聊 公會 交易 密語 狀態
密語:
[DIALOG d_m6_textentry BUTTON]
ONBUTTON=902 // The apply button
src.uo
//SRC.SYSMESSAGE You type <ARGTXT[1]> in textentry index 1!
src.m6 <ARGTXT[1]>
RETURN 0 // Yes, you can have RETURNs in a dialog

回覆文章

回到「點子& 腳本投稿區」

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 2 位訪客