Steve™ Management
Number of posts : 2447 Home : At Home Humor : If Im Not Back Later... Wait Longer Registration date : 2007-07-30
| Subject: Post It : By Reactor Tue 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> | |
|