Minecraft PC IP: play.cubecraft.net
Status
Not open for further replies.

Fesa

Quality Assurance
Team CubeCraft
🧪 Quality Assurance
💌 Customer Support
Oct 17, 2016
1,505
4,037
349
Yoitsu
Pronouns
She/Her
Hii,
Could anyone help me with Macro Mod,
I have this as code (auto gg + leave)
Code:
STRIP(&chat, %CHAT%)
IFCONTAINS(%&chat%, Congratulations, you win!)
wait(1ms)
echo("/pc")
wait(1ms)
echo("Bingo!")
wait(1ms)
echo("/pc")
wait(1ms)
echo("/hub %force%")
ENDIF
But the /hub %force% only works as /hub, the %force% is ignored (Probably because % is used in code as well. )
Does anyone know how to fix this? :3
 
  • Like
Reactions: Gregeyy

Gregeyy

Forum Expert
Jul 21, 2017
808
2,472
349
Spain
I think it's not possible, but you could change the command to '/playagain now' if you want to play another game without clicking in chat.
 

Fesa

Quality Assurance
Team CubeCraft
🧪 Quality Assurance
💌 Customer Support
Oct 17, 2016
1,505
4,037
349
Yoitsu
Pronouns
She/Her
I think it's not possible, but you could change the command to '/playagain now' if you want to play another game without clicking in chat.
But, that's not what I want? I want to auto leave...
I need to go to the lobby since I have a script that joins the right map :)
 

SanCookie

Gameplay Engineer
Mar 18, 2017
2,306
12,761
498
22
the selfie area
bit.ly
Pronouns
He/Him
I’m sure that @SanCookie can solve this ;)
Sadly not, I don't know anything about code, I had the same problem with the "Congratulations, you win!" text, it tests for "Congratulations" and " you win!" in chat, not just as one long sentence. I fixed it by changing
JavaScript:
IFCONTAINS(%&chat%,Congratulations, you win!)
to
JavaScript:
IFCONTAINS(%&chat%,"Congratulations, you win!")

Your best bet would be to kindly message Lezappen on Discord, he usually replies within a few hours

I do know that most of these replies are useless, why do people reply if they have no idea what they are talking about ._.
 

maflenoo

Dedicated Member
May 2, 2017
589
739
174
Egypt
Pronouns
He/Him
Hii,
Could anyone help me with Macro Mod,
I have this as code (auto gg + leave)
Code:
STRIP(&chat, %CHAT%)
IFCONTAINS(%&chat%, Congratulations, you win!)
wait(1ms)
echo("/pc")
wait(1ms)
echo("Bingo!")
wait(1ms)
echo("/pc")
wait(1ms)
echo("/hub %force%")
ENDIF
But the /hub %force% only works as /hub, the %force% is ignored (Probably because % is used in code as well. )
Does anyone know how to fix this? :3
Try: echo("/hub" + " %force%")

or: echo("/hub " + %force%)

Tell me if it worked!
 
Status
Not open for further replies.
Members Online

Members online

No members online now.

Latest posts

Latest profile posts

This is YOUR daily dose of facts #55-
If a big or medium slime or magma cube is named with a name tag, and then dies, its smaller versions will have the same name.
Mintypie231 wrote on WorriedSkate940's profile.
Happy birthday green budgie!! 🎂🎈
Xi1m wrote on Capitan's profile.
you’re officially cool
IMG_9112.jpeg
Eli wrote on matcha's profile.
Happy to see you around! :)
I got my first 20k kills in FFA!:D
20 000 kills in ffa picture 2.png
Top Bottom