我正在制作批量运动游戏,我需要: 因此,一个表情符号的人会变成蓝色,其他的表情符号就会变成红色。
我怎么可能这样做?我认为你可以这样做:
set (emoji)=color 04
我希望你能理解我。如果你没有得到我需要的东西,请帮助并提出问题。
有些人在问我的代码:
@echo off
:start
title Sport Game
echo Pick A Team:
echo.
echo 1. Blue
echo 2. Red
set /p start=
if %start%== 1 goto blue
if %start%== 2 goto red
echo Plase give me the number..
pause
goto start
:blue
cls
echo You Are On Blue Team!
pause
:red
cls
echo You Are On Red Team!
pause
答案 0 :(得分:0)
您可以尝试cecho.exe
。只需将.exe
文件放入Windows目录(%Windir%)中即可将其用作普通命令。
cecho.exe {04}text in red{#} text in original color{\n}
{xx} color code
{#} revert to original color
{\n} newline
您可以了解有关此实用程序here的更多信息(也在内部下载链接)