Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Voice:=ComObjCreate("SAPI.SpVoice")
- Voice.Voice := Voice.GetVoices("Name=ScanSoft Tom_Full_22kHz").Item(0)
- CurrentVoice = ScanSoft Tom_Full_22kHz
- Return
- ::lennyface::( ͡° ͜ʖ ͡°)
- ::dfa::ಠ_ಠ
- #IfWinNotExist,Fortnite
- AppsKey::
- Input,comp3,I,{Enter}{Esc}
- if (ErrorLevel="EndKey:Enter") {
- Voice.Speak(comp3)
- }
- Return
- #IfWinExist, Fortnite
- AppsKey::
- if (CurrentVoice="ScanSoft Tom_Full_22kHz") {
- CurrentVoice = ScanSoft Daniel_Full_22kHz
- CV = ScanSoft Daniel
- } else if (CurrentVoice="ScanSoft Daniel_Full_22kHz") {
- CurrentVoice = eSpeak-EN
- CV = eSpeak
- } else if (CurrentVoice="eSpeak-EN") {
- CurrentVoice = Microsoft Anna
- CV = Microsoft Anna
- } else if (CurrentVoice="Microsoft Anna") {
- CurrentVoice = ScanSoft Tom_Full_22kHz
- CV = ScanSoft Tom
- }
- Voice.Voice := Voice.GetVoices("Name=" . CurrentVoice).Item(0)
- Voice.Speak("Voice switched to " . CV)
- Return
- PgUp::
- KeyWait, PgUp, T0.1
- if (ErrorLevel)
- Voice.Speak("There are enemies in front of me.") ;hold
- else {
- KeyWait, PgUp, D T0.1
- if (ErrorLevel)
- Voice.Speak("There are enemies nearby, proceed with caution.") ;single
- else
- Voice.Speak("There are enemies shooting from the direction I'm facing.") ;double
- }
- Return
- PgDn::
- Voice.Speak("I'm under attack, send help.")
- Return
- Numpad1::
- KeyWait, Numpad1, T0.1
- if (ErrorLevel)
- Voice.Speak("Whats up my dudes.") ;hold
- else {
- KeyWait, Numpad1, D T0.1
- if (ErrorLevel)
- Voice.Speak("Hello, I use text to speech.") ;single
- else
- Voice.Speak("Hey guys") ;double
- }
- Return
- Numpad2::
- KeyWait, Numpad2, T0.1
- if (ErrorLevel)
- Voice.Speak("Head to my waypoint")
- else {
- KeyWait, Numpad2, D T0.1
- if (ErrorLevel)
- Voice.Speak("Where we headed?.")
- else
- Voice.Speak("Follow me.")
- }
- Return
- Numpad3::
- KeyWait, Numpad3, T0.1
- if (ErrorLevel)
- Voice.Speak("I died.")
- else {
- KeyWait, Numpad3, D T0.1
- if (ErrorLevel)
- Voice.Speak("I'm down, please revive me.")
- else
- Voice.Speak("I'm down and being shot at.")
- }
- Return
- Numpad0::
- Suspend, Permit
- Suspend, On
- comp := ""
- plural = "no"
- KeyWait, Numpad0, T0.1
- if (ErrorLevel)
- comp := "I need "
- else {
- KeyWait, Numpad0, D T0.1
- if (ErrorLevel)
- comp := "I just found "
- else
- comp := "I have "
- }
- Input,comp2,I L1 T5,{NumpadDot}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDiv}{NumpadMult}{NumpadSub}{NumpadEnter}
- if (ErrorLevel="EndKey:NumpadEnter") {
- Input,comp2,I L1 T5,{NumpadDot}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDiv}{NumpadMult}{NumpadSub}{NumpadEnter}
- if (ErrorLevel="EndKey:Numpad7") {
- comp := comp . "a "
- } else if (ErrorLevel="EndKey:Numpad1") {
- comp := comp . "a normal "
- } else if (ErrorLevel="EndKey:Numpad2") {
- comp := comp . "an uncommon "
- } else if (ErrorLevel="EndKey:Numpad3") {
- comp := comp . "a rare "
- } else if (ErrorLevel="EndKey:Numpad4") {
- comp := comp . "an epic "
- } else if (ErrorLevel="EndKey:Numpad5") {
- comp := comp . "a legendary "
- } else if (ErrorLevel="EndKey:Numpad6") {
- comp := comp . "multiple "
- plural = "yes"
- }
- Input,comp2,I L1 T5,{NumpadDot}{Numpad0}{Numpad1}{Numpad2}{Numpad3}{Numpad4}{Numpad5}{Numpad6}{Numpad7}{Numpad8}{Numpad9}{NumpadDiv}{NumpadMult}{NumpadSub}{NumpadEnter}{NumpadAdd}
- if (ErrorLevel="EndKey:Numpad1") {
- comp := comp . "pistol "
- } else if (ErrorLevel="EndKey:NumpadDiv") {
- comp := comp . "smg "
- } else if (ErrorLevel="EndKey:Numpad2") {
- comp := comp . "revolver "
- } else if (ErrorLevel="EndKey:Numpad3") {
- comp := comp . "pump shotgun "
- } else if (ErrorLevel="EndKey:NumpadEnter") {
- comp := comp . "tactical shotgun "
- } else if (ErrorLevel="EndKey:Numpad4") {
- comp := comp . "burst assault rifle "
- } else if (ErrorLevel="EndKey:Numpad5") {
- comp := comp . "assault rifle "
- } else if (ErrorLevel="EndKey:Numpad6") {
- comp := comp . "scoped assault rifle "
- } else if (ErrorLevel="EndKey:Numpad7") {
- comp := comp . "semi-auto sniper rifle "
- } else if (ErrorLevel="EndKey:Numpad8") {
- comp := comp . "bolt-action sniper rifle "
- } else if (ErrorLevel="EndKey:Numpad9") {
- comp := comp . "rocket launcher "
- } else if (ErrorLevel="EndKey:NumpadAdd") {
- comp := comp . "scoped assault rifle "
- } else if (ErrorLevel="EndKey:NumpadMult") {
- comp := comp . "smg "
- } else if (ErrorLevel="EndKey:NumpadSub") {
- comp := comp . "tactical smg "
- }
- } else if (ErrorLevel="EndKey:Numpad1") {
- comp := comp . "a gun "
- } else if (ErrorLevel="EndKey:Numpad4") {
- comp := comp . "light ammo "
- } else if (ErrorLevel="EndKey:Numpad5") {
- comp := comp . "medium ammo "
- } else if (ErrorLevel="EndKey:Numpad6") {
- comp := comp . "heavy ammo "
- } else if (ErrorLevel="EndKey:Numpad7") {
- comp := comp . "rockets "
- } else if (ErrorLevel="EndKey:Numpad8") {
- comp := comp . "shotgun ammo "
- } else if (ErrorLevel="EndKey:Numpad2") {
- comp := comp . "small shields "
- plural = "yes"
- } else if (ErrorLevel="EndKey:Numpad3") {
- comp := comp . "a shield potion "
- } else if (ErrorLevel="EndKey:NumpadDiv") {
- comp := comp . "bandages "
- plural := "yes"
- } else if (ErrorLevel="EndKey:NumpadMult") {
- comp := comp . "a medkit "
- } else {
- Suspend, Off
- return
- }
- Input,comp2,I L1 T0.3,{NumpadAdd}{NumpadEnter}
- if (ErrorLevel="EndKey:NumpadAdd"){
- comp := comp . " and I don't have room for "
- if (plural = "yes") {
- comp := comp . "them"
- } else {
- comp := comp . "it"
- }
- } else if (ErrorLevel="EndKey:NumpadEnter"){
- comp := comp . ", does anyone need "
- if (plural = "yes") {
- comp := comp . "them"
- } else {
- comp := comp . "it"
- }
- }
- Suspend, Off
- Voice.Speak(comp)
- Return
- NumpadDot::
- Return
- NumpadEnter::
- Voice.Speak("I died.")
- Return
- NumpadAdd::
- Voice.Speak("I knocked one")
- Return
- Numpad4::
- KeyWait, Numpad4, T0.1
- if (ErrorLevel)
- Voice.Speak("The circle is closing in.")
- else {
- KeyWait, Numpad4, D T0.1
- if (ErrorLevel)
- Voice.Speak("We need to get inside the circle.")
- else
- Voice.Speak("We need to run right now from the storm my dudes it's closing in faster than mama gay luigi eating a spaghetti ravioli pizza pie my super mario pie zaanoes capeesh.")
- }
- Return
- Numpad5::
- Voice.Speak("I'm low on ammo.")
- Return
- Numpad6::
- Voice.Speak("I need heavy ammo.")
- Return
- Numpad7::
- Voice.Speak("I need rocket ammo.")
- Return
- Numpad8::
- Voice.Speak("I need shotgun ammo.")
- Return
- Numpad9::
- Voice.Speak("I need shields.")
- Return
- NumpadDiv::
- KeyWait, NumpadDiv, T0.1
- if (ErrorLevel)
- Voice.Speak("Okay") ;hold
- else {
- KeyWait, NumpadDiv, D T0.1
- if (ErrorLevel)
- Voice.Speak("Yes") ;single
- else
- Voice.Speak("Yuh") ;double
- }
- Return
- NumpadMult::
- KeyWait, NumpadMult, T0.1
- if (ErrorLevel)
- Voice.Speak("Don't do it bro") ;hold
- else {
- KeyWait, NumpadMult, D T0.1
- if (ErrorLevel)
- Voice.Speak("No") ;single
- else
- Voice.Speak("Nah") ;double
- }
- Return
- NumpadSub::
- Voice.Speak("I couldn't understand what you said.")
- Return
- Home::
- Voice.Speak("Thanks.")
- Return
- End::
- Voice.Speak("You're welcome.")
- Return
- Insert::
- Voice.Speak("I'm on my way.")
- Return
- Delete::
- KeyWait, Delete, T0.1
- if (ErrorLevel)
- Voice.Speak("Nice!") ;hold
- else {
- KeyWait, Delete, D T0.1
- if (ErrorLevel)
- Voice.Speak("Nice one!") ;single
- else
- Voice.Speak("That was nicer than the time I rendered an entire five minute bad apple video protesting the removal of tickets from row blocks using blender and the cycles rendering engine, and the time that I quickscoped a guy when I only had a sniper, and the time that I made a macro about mama gay luigi spaghetti ravioli pizza pie.") ;double
- }
- Return
- ScrollLock::
- Voice.Speak("Hold my beer")
- Return
- Pause::
- Voice.Speak("Sending it for the boys")
- Return
- #IfWinExist,Fortnite
- RWin::
- Voice.Speak(clipboard)
- \::
- Input,comp3,I,{Enter}{Esc}
- if (ErrorLevel="EndKey:Enter") {
- Voice.Speak(comp3)
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement