馬上加入Android 台灣中文網,立即免費下載應用遊戲。
您需要 登錄 才可以下載或查看,沒有帳號?註冊
x
本帖最後由 stu98601 於 2013-12-8 18:55 編輯
東西放在這裡 其實說起來也不難 唯一要注意的就是把10-15的數值轉到英文字符而已
- For 8
- Randomize
- a = int(rnd * 16)
- If a = 10 Then
- a = "A"
- ElseIf a = 11 Then
- a = "B"
- ElseIf a=12 Then
- a = "C"
- ElseIf a=13 Then
- a = "D"
- ElseIf a=14 Then
- a = "E"
- ElseIf a=15 Then
- a = "F"
- End If
- code1 = code1 & a
- Next
- For 3
- Randomize
- b = int(rnd * 16)
- If b = 10 Then
- b = "A"
- ElseIf b = 11 Then
- b = "B"
- ElseIf b=12 Then
- b = "C"
- ElseIf b=13 Then
- b = "D"
- ElseIf b=14 Then
- b = "E"
- ElseIf b=15 Then
- b = "F"
- End If
- code2 = code2 & b
- Next
- For 4
- Randomize
- c = int(rnd * 16)
- If c = 10 Then
- c = "A"
- ElseIf c = 11 Then
- c = "B"
- ElseIf c=12 Then
- c = "C"
- ElseIf c=13 Then
- c = "D"
- ElseIf c=14 Then
- c = "E"
- ElseIf c=15 Then
- c = "F"
- End If
- code3 = code3 & c
- Next
- For 4
- Randomize
- d = int(rnd * 16)
- If d = 10 Then
- d = "A"
- ElseIf d = 11 Then
- d = "B"
- ElseIf d=12 Then
- d = "C"
- ElseIf d=13 Then
- d = "D"
- ElseIf d=14 Then
- d = "E"
- ElseIf d=15 Then
- d = "F"
- End If
- code4 = code4 & d
- Next
- For 12
- Randomize
- e = int(rnd * 16)
- If e = 10 Then
- e = "A"
- ElseIf e = 11 Then
- e = "B"
- ElseIf e=12 Then
- e = "C"
- ElseIf e=13 Then
- e = "D"
- ElseIf e=14 Then
- e = "E"
- ElseIf e=15 Then
- e = "F"
- End If
- code5 = code5 & e
- Next
- SayString code1 & "-" & "4" & code2 & "-" & code3 & "-" & code4 & "-" & code5
- MessageBox code1 & "-" & "4" & code2 & "-" & code3 & "-" & code4 & "-" & code5
-
複製代碼
如果有更簡潔的寫法歡迎指教
目前正在研發純腳本的自動首刷
希望可以研發出不用一堆雜七雜八單純運行腳本就可以爽爽首刷的東西
歡迎一起討論
此腳本可以與此篇一起服用
快速更改IP 刷首抽免綠盾 |
評分
-
查看全部評分
|