Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f1::
- Random, RanNum, 1, 4
- if RanNum = 1
- {
- msgbox, pizza
- }
- if RanNum = 2
- {
- msgbox, sub
- }
- if RanNum = 3
- {
- msgbox, hotdog
- }
- if RanNum = 4
- {
- msgbox, starve
- }
- Return
- f2::
- ;wordlist:=[]
- ;Loop Read,MyWordList.txt ;add file path if somewhere else then script
- ; wordlist[A_Index]:=A_LoopReadLine
- WordList := ["Pizza", "Sub", "Hotdog" , "starve"]
- Random, RanNum, 1, % WordList.Count()
- Msgbox, %RanNum%
- Send, % WordList[RanNum]
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement