Benutzer:Techno DJ/NPC-Script: Unterschied zwischen den Versionen

Aus chessmail Wiki
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
 
[http://www.chessmail.info/cmwiki/index.php?title=Benutzer:Techno_DJ/Meine_Wikiseite Zur Wikiseite]
 
[http://www.chessmail.info/cmwiki/index.php?title=Benutzer:Techno_DJ/Meine_Wikiseite Zur Wikiseite]
  
Zum Video=
+
 
 +
=Zum Video=
  
 
[http://www.youtube.com/watch?v=2-OChdCqHXk&list=PLWCOxlrDZSS9Jpx3Ts8iBxv6c5WTa6her&index=2 Zum Video]
 
[http://www.youtube.com/watch?v=2-OChdCqHXk&list=PLWCOxlrDZSS9Jpx3Ts8iBxv6c5WTa6her&index=2 Zum Video]

Version vom 10. September 2013, 21:28 Uhr

Zur Wikiseite


Zum Video

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
Meine Werkzeuge
Namensräume

Varianten
Aktionen
chessmail Wiki
Schachserver
Informationen
Werkzeuge