MaxTech
Would you like to react to this message? Create an account in a few clicks or log in to continue.


PC Help And Information Easy Maintenance And Free Software
 
HomePortalSearchLatest imagesRegisterLog in

 

 Post It : By Reactor

Go down 
AuthorMessage
Steve™
Management

Management
Steve™


Male
Number of posts : 2447
Home : At Home
Humor : If Im Not Back Later... Wait Longer
Registration date : 2007-07-30

Post It : By Reactor Empty
PostSubject: Post It : By Reactor   Post It : By Reactor EmptyTue Aug 17, 2010 2:57 am

Thanks to Reactor for this small effective script,
Code:
<config>

<command type="script">
<in>!post</in>
<out type="push" extdata="loop">1</out>
<out type="push" extdata="2"><operator type="readfile" nvalue="C:\Program Files\RoboMX\post\posts.txt"lvalue="l" rvalue="$loop$"/></out>
<out> $loop$ %USERVAR[2]% </out>
<out type="sleep" extdata="2000" />
<out type="push" extdata="loop"><operator type="++" lvalue="$loop$" /></out>
<out type="goto" extdata="-4" condition="5" lvalue="%USERVAR[2]%" rvalue="=End of Menu="></out>
<out>to choose a story to read type in !read # (replace the # with the number of the post)</out>
</command>


<command type="script" mode="thread">
<in>!read %PARAM%</in>
<out type="push" extdata="loop">1</out>

<out type="push" extdata="4"><operator type="strrep" nvalue="C:\Program Files\RoboMX\post\posts.txt" lvalue="post" rvalue="%PARAM%"/></out>
<out type="push" extdata="2"><operator type="readfile" nvalue="%USERVAR[4]%" lvalue="l" rvalue="$loop$"/></out>

<out> %USERVAR[2]% </out>
<out type="sleep" extdata="2000" />

<out type="push" extdata="loop"><operator type="++" lvalue="$loop$" /></out>
<out type="goto" extdata="-5" condition="5" lvalue="%USERVAR[2]%" rvalue="End of post!"></out>
</command>

</config>
Back to top Go down
https://maxtech.forumotion.com
 
Post It : By Reactor
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
MaxTech ::  The World Of WinMX Chat :: Metis Working Scripts Centre-
Jump to: