gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76774 Posts in 13500 Topics by 1651 Members - Latest Member: insider4ever March 29, 2024, 12:54:39 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  WinMX World International  |  WinMX World Deutsch - WinMx Hilfe  |  metis
gfx
gfxgfx
 

Author Topic: metis  (Read 1641 times)

0 Members and 1 Guest are viewing this topic.

joerg

  • Guest
metis
« on: February 13, 2007, 01:21:05 pm »
hallo ihr lieben,ich hab hier ein problem  mit einem script.dieses script lässt jeden user einen zahlen tipp abgeben und zwar 10x ich möchte aber das jeder user tippen kann und zwar nur alle 5 min dann sollte auch der gewinn in credits sein so das man z.b die credits verwenden kann um gegen einander dice oder eine bombe werfen kann wen man credits hat.ich hoffe es kann jemand ein blondchen in sachen scripte helfen da ich eigentlich noch mehgr solche script fehler hab.hier nun mal das script:

<config>
<command type="script">
<in>!bguess</in>
<out type="push" extdata="10questionANSWER">%RANDOMNUM[100]%</out>
<out>#c8#Ok #c62#%NAME% #c4#finde die zahl zwischen 0-100!!! </out>
<out>#c4#Du hast 10 versuche mit #c8#!tip#c2# oder für deine credits schreib #c8#!credits</out>
<out type="push" extdata="guessnumber">0</out>
</command>

<command type="script">
<in>!tip %PARAM%</in>
<out type="push" extdata="guess">%PARAM%</out>
############################
### put directory in here ##
############################
<out type="push" extdata="directory">"C:\Program Files\RoboMX\Plugins\txt\"</out>
############################
<out type="push" extdata="response" condition="!=" lvalue="$10questionANSWER$" rvalue="$guess$">0</out>
<out type="push" extdata="response" condition="==" lvalue="$10questionANSWER$" rvalue="$guess$">1</out>
<out condition="==" lvalue="$response$" rvalue="1"> %RAWNAME% #c8#Glückwunsch #c62#%NAME% #c8#die zahl ist #c54#Richtig#c8#.</out>
<out type="push" extdata="1" condition="==" lvalue="$response$" rvalue="1">$directory$Wins\%NAME%.txt</out>
<out type="push" extdata="2" condition="==" lvalue="$response$" rvalue="1">$directory$Wins\%USERVAR[1]%</out>
<out type="push" extdata="3" condition="==" lvalue="$response$" rvalue="1"><operator type="readfile" nvalue="%USERVAR[2]%" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="4"><operator type="strlen"lvalue="%USERVAR[3]%"/></out>
<out type="push" extdata="5"><operator type="<" lvalue="%USERVAR[4]%"rvalue="1"/></out>
<out type="push" extdata="6"><operator type="readfile" nvalue="%USERVAR[2]%"lvalue="l" rvalue="1"/></out>
<out type="push" extdata="7" condition="==" lvalue="%USERVAR[5]%" rvalue="0"><operator type="+" lvalue="%USERVAR[6]%" rvalue="1"/></out>
<out type="push" extdata="7" condition="==" lvalue="%USERVAR[5]%" rvalue="1"><operator type="+" lvalue="0" rvalue="1"/></out>
<out type="file" mode="t" extdata="%USERVAR[2]%">%USERVAR[7]%</out>
<out type="self" condition="==" lvalue="$response$" rvalue="1">!finishquestions</out>
<out type="break" condition="==" lvalue="$response$" rvalue="1"></out>
<out type="push" extdata="HöTi" condition="<" lvalue="$10questionANSWER$" rvalue="$guess$">Tiefer</out>
<out type="push" extdata="HöTi" condition=">" lvalue="$10questionANSWER$" rvalue="$guess$">Höher</out>
<out type="push" extdata="response1" condition="==" lvalue="$response$" rvalue="0"> %RAWNAME% #c8#Schade #c62#%NAME% #c8#dein nächter tip muss #c54#$HöTi$#c8#.</out>
<out type="push" extdata="guessnumber"><operator type="+" lvalue="$guessnumber$" rvalue="1"/></out>
<out condition="!=" lvalue="$guessnumber$" rvalue="10">$response1$</out>
<out condition="!=" lvalue="$guessnumber$" rvalue="10"> %RAWNAME% #c8#That was guess number #c1#$guessnumber$#c8#!!!</out>
<out condition="==" lvalue="$guessnumber$" rvalue="10"> %RAWNAME% #c2#Sorry #c51#%NAME% #c2#that was your last guess!!! You lost!!! The answer was #c8#$10questionANSWER$#c2#!!!!</out>
<out type="push" extdata="1" condition="==" lvalue="$guessnumber$" rvalue="10">$directory$Loses\%NAME%.txt</out>
<out type="push" extdata="2" condition="==" lvalue="$guessnumber$" rvalue="10">$directory$Loses\%USERVAR[1]%</out>
<out type="push" extdata="3" condition="==" lvalue="$guessnumber$" rvalue="10"><operator type="readfile" nvalue="%USERVAR[2]%" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="4" condition="==" lvalue="$guessnumber$" rvalue="10"><operator type="strlen"lvalue="%USERVAR[3]%"/></out>
<out type="push" extdata="5" condition="==" lvalue="$guessnumber$" rvalue="10"><operator type="<" lvalue="%USERVAR[4]%"rvalue="1"/></out>
<out type="push" extdata="6" condition="==" lvalue="$guessnumber$" rvalue="10"><operator type="readfile" nvalue="%USERVAR[2]%"lvalue="l" rvalue="1"/></out>
<out type="push" extdata="7" condition="==" lvalue="%USERVAR[5]%" rvalue="0"><operator type="+" lvalue="%USERVAR[6]%" rvalue="1"/></out>
<out type="push" extdata="7" condition="==" lvalue="%USERVAR[5]%" rvalue="1"><operator type="+" lvalue="0" rvalue="1"/></out>
<out type="file" mode="t" extdata="%USERVAR[2]%">%USERVAR[7]%</out>
<out type="self" condition="==" lvalue="$guessnumber$" rvalue="10">!finishquestions</out>
</command>

<command type="script">
<in>!finishquestions</in>
<out type="pop" extdata="guess"></out>
<out type="pop" extdata="response"></out>


ich bin bedanke mich bei euch im vorraus euer jörg

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: metis
« Reply #1 on: February 14, 2007, 06:35:20 pm »
Ich bin leider keine grosse Leuchte was Scripte angeht, ich kann Dir hier also nicht helfen fürchte ich.

Ich habe aber mal Deinen Beitrag im Metis Forum so übersetzt, dass man es auch verstehen kann  ;)

Ich hoffe jemand nimmt sich Deiner an, ich helfe gern weiter beim Übersetzen  8)
LINUX - Legendary Intelligent Needful Universal Xperienced


joerg

  • Guest
Re: metis
« Reply #2 on: February 14, 2007, 10:02:17 pm »
danke nylly das ist voll lieb von dir*bussi

WinMX World :: Forum  |  WinMX World International  |  WinMX World Deutsch - WinMx Hilfe  |  metis
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.019 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!