1

Command block: Wireless /say

Kr0wdz's Avatar Kr0wdz3/23/14 1:26 pm
1 emeralds 335 6
3/26/2014 7:14 am
CommanderBlock's Avatar CommanderBlock
I've seen it in many adventure maps..
How do I make a command block say something when you are inside a radius?
i tried like : say @p[r=6] but it didnt work..
Do you have to use a pressureplate/button etc? or can it be done completly wirless?

Please help
Posted by Kr0wdz's Avatar
Kr0wdz
Level 6 : Apprentice Architect
1

Create an account or sign in to comment.

6

1
03/26/2014 7:11 am
Level 11 : Journeyman Architect
CommanderBlock
CommanderBlock's Avatar
Make a clock, then put a command block under where the player will be. The command will be:
/testfor @p[r=0] replace the 0 for your radius.
Place a comparator running out of the block then into another command block.
Command will be:
/say Hello
Or
/me Hello

Thanks,
Bye!
1
03/26/2014 7:14 am
Level 11 : Journeyman Architect
CommanderBlock
CommanderBlock's Avatar
Also if you ever need help with command blocks,
Just ask me!
1
03/23/2014 4:31 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
/say doesn't accept a player parameter, it will just say a message to everyone. If you want to tell a message to certain players, either use /tell @p[r=6] <message> or /tellraw @p[r=6] {FancyMessageStuff}. The /tellraw is harder to use, but you can put different effects and colors on strings of text, and it just overall looks nicer.

If you do go with /tellraw, this website is great and puts the command together for you. http://ezekielelin.com/minecraft/tellraw/
1
03/23/2014 5:39 pm
Level 16 : Journeyman Goblin
poltercreeper
poltercreeper's Avatar
^this
1
03/23/2014 2:04 pm
Level 5 : Apprentice Hunter
SomewhatInfinite
SomewhatInfinite's Avatar
If your in 1.8 (or the newest snapshot) you can make a redstone clock connected to a bunch of command blocks to test for a player and use a redstone comparator to output a signal when a player enters the area, the best part is that you cant set if off again so its easy to have the event happen once but if you back track it wont have the same moment from the adventure map happen again.
If you ever need any help with more redstone problems or need me to make a video to show how to do it. you can contact me via.
Twitter: https://twitter.com/Somewhat8
YouTube: http://www.youtube.com/user/SomewhatInfinite
Or my planet minecraft (I dont get on this one as much)

Hope I helped
1
03/23/2014 1:37 pm
Level 4 : Apprentice Explorer
TrueDengler
TrueDengler's Avatar
Pressure plates using /testfor might work, but I'm not sure if that counts as "wireless".
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome