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,020
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,020
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
Team CubeCraft
🖌️ Sr. Designer
Mar 18, 2017
2,305
12,691
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

Team online

Latest profile posts

Eli wrote on Egg🥚's profile.
Happy Birthday!!!
JokeKaedee wrote on Egg🥚's profile.
Gefeliciteerd met je verjaardag!! :egg:
1714062934709.png

fun new launcher lol
marshduck11 wrote on Mintypie231's profile.
I'm waiting for my facts!
Eli wrote on hamelech2007's profile.
Hello pumpkin
Top Bottom