Benutzer:Techno DJ/NPC-Script: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Zum Video= [http://www.youtube.com/watch?v=2-OChdCqHXk&list=PLWCOxlrDZSS9Jpx3Ts8iBxv6c5WTa6her&index=2 Zum Video] =Script= @echo off title NPC color C …“) |
H2m2 (Diskussion | Beiträge) K (H2m2 verschob Seite NPC-Script nach Benutzer:Techno DJ/NPC-Script) |
||
| (2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| + | [http://www.chessmail.info/cmwiki/index.php?title=Benutzer:Techno_DJ/Meine_Wikiseite Zur Wikiseite] | ||
| + | |||
| + | |||
=Zum Video= | =Zum Video= | ||
Aktuelle Version vom 30. November 2013, 22:01 Uhr
Zum Video
Script
@echo off title NPC color C
:int set w1=@ set w2=_ set w3=_
:start cls echo %w1% %w2% %w3%
timeout /t 1 /nobreak > nul
:random set /a "npc=%random% %% 5+1"
if "%npc%"=="1" goto links if "%npc%"=="2" goto links if "%npc%"=="3" goto rechts if "%npc%"=="4" goto rechts if "%npc%"=="5" goto bleib
:links if "%w1%"=="@" goto random if "%w2%"=="@" set w1=@&&set w2=_&&goto start if "%w3%"=="@" set w2=@&&set w3=_&&goto start
:rechts if "%w1%"=="@" set w2=@&&set w1=_&&goto start if "%w2%"=="@" set w3=@&&set w2=_&&goto start if "%w3%"=="@" goto random
:bleib goto start