A game called Moomoo.io, can anyone create a macro for it, all i want it to do is when i press a button on the keyboard it will switch to the hat i want, im not too sure how to do it, so will someone do it for me
for example...
V::
Equip, {BullHelmet}
R::
Equip, {SoldierHelmet}
(just an example, someone please help me it would be much apriciated)
Creating macros for a game
-
- Posts: 141
- Joined: 19 Jul 2017, 09:59
Re: Creating macros for a game
Maybe learn to code first?
Last edited by mast4rwang on 09 Jan 2019, 16:50, edited 1 time in total.
Re: Creating macros for a game
Lol This is just too dumb of a thread
-
- Posts: 141
- Joined: 19 Jul 2017, 09:59
Re: Creating macros for a game
Ok, I created a working code:
Code: Select all
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#NoTrayIcon
#Persistent
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
CoordMode, Mouse, Screen
keyWords := {1:"moomoo", 2:"Equip,{BullHelmet}", 3:"Equip,{SoldierHelmet}",4:"atrocious grammar",5:"someone do it for me"}
;Functions
rnd(start,end,seed)
{
nr := []
Random,tmp,1,seed
Loop % tmp
{
Random,tmp,start,end
nr.Push(tmp)
}
Random,tmp,1,nr.MaxIndex()
Return nr[tmp]
}
stupidityCalc(title)
{
global
bonusMultiplier := 1
if (title = "Creating macros for a game")
{
msgbox % "kid detected in this topic!"
++bonusMultiplier
}
if (title = "fortnite")
{
msgbox % "cancer detected in this topic!"
++defaultEyeBleed
}
loop,
{
index := rnd(3,100,10)
if (index > 5)
continue
break
}
return, (index * bonusMultiplier)
}
;code
defaultIQ := rnd(50,100,10)
defaultEyeBleed := 8 ;simply from reading this topic (maximum is 10)
deteriorationCoefficient := stupidityCalc("Creating macros for a game")
lostIQ := deteriorationCoefficient * defaultEyeBleed
remainingIQ := defaultIQ - lostIQ
msgbox % "due to stupidity shown in this topic there was a significant change in your IQ!`nThe lost IQ was calculated: " lostIQ " IQ`nYou have " remainingIQ " IQ remaining!!"
msgbox % "responsible keywords were detected!!"
loop % keyWords.maxindex()
msgbox % keyWords[a_index]
msgbox % "to reduce the remaining brain cells to zero, the program will loop indefinitely!"
reload
-
- Posts: 30
- Joined: 05 Apr 2022, 10:37
- Contact:
Re: Creating macros for a game
You Need Learn
Click
MouseMove
Click, ScrollUp
Click, ScrollDown
And Return
Click
MouseMove
Click, ScrollUp
Click, ScrollDown
And Return