gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 23, 2024, 09:38:32 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  help for metis
gfx
gfxgfx
 

Author Topic: help for metis  (Read 1723 times)

0 Members and 1 Guest are viewing this topic.

joerg

  • Guest
help for metis
« on: February 13, 2007, 10:40:23 pm »
hello her/its/their lieben,sory therefore is not good my English I a übersetzer,ich used left a problem with a script.dieses script each user pay one here taps hands over 10x in fact I however, this of each user then liked can tap in fact only every 5 min also he/it should win in credits can use this z.b so one the credits about against each other dice or a bomb can throw whom hat.ich one credits it hopes somebody a blond one can little scripte in matters actually still mehgr such script mistakes simply help hab.hier I the script there:
<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>

I am thanks me with you in the vorraus

Offline nylly444

  • The /root of all evil ;-)
  • WMW Team
  • *****
    • WinMX World
Re: help for metis
« Reply #1 on: February 14, 2007, 06:32:37 pm »
OK, I think Jörg needs some help translating here ;)

He posted the same request in german so I'll try and translate from that, hopefully someone can help him out :D

What he's got here is a script letting a user try to guess a number between 1 and 100 ten times.

He'd like to know a way to modify it so each user in a room can make a guess, but only every 5 minutes.

In addition he'd like to see a way to give some kind of credits to a user which can be used in another script.
For instance throwing a bomb at another user or something similar if the user has collected enough credits.

I hope someone can help him out here since I surely can't, lol

Except of course with translations ;)
LINUX - Legendary Intelligent Needful Universal Xperienced


joerg

  • Guest
Re: help for metis
« Reply #2 on: February 14, 2007, 09:59:16 pm »
 :oops:wonderfull and much thanks to nylly444 :D :D

WinMX World :: Forum  |  Metis Scripts and Help  |  Metis Script Help  |  help for 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.008 seconds with 21 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!