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 21, 2024, 12:51:35 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Format Maker
gfx
gfxgfx
 

Author Topic: Format Maker  (Read 3934 times)

0 Members and 1 Guest are viewing this topic.

Offline Snick512

  • Forum Member
Format Maker
« on: December 05, 2007, 08:33:04 pm »
This was tested on Robomx/Metis 2.70Test6 on WCS 1.8.3

Basically..

You can have different Databases of Formats for people to choose from. Let them make their own formats n such. You can switch the databases yourself (Change in usergroup)

Tip: make the load database options a custom command in WCS (and change them to your liking)

This script was based off the "WinMX Dictionary by: Striker" And I edited it to my Liking.

Your bot needs /hidecmd , /notice and /setformat access

Hope you Enjoy

Code: [Select]
<config>

// format maker

// This is for loading Databases, and Applying selected formats to people
<usergroup name="formatmaker">
*Snick*
</usergroup>

<command type="script">
<in>/makeformat %PARAM%</in>
<in>!makeformat %PARAM%</in>
<out type="file" extdata="Formats%USERVAR[savedformats]%.txt" mode="a">%PARAM%\n</out>
<out delay="500">/hidecmd /setformat %RAWNAME% %PARAM%</out>
<out delay="1000">/hidecmd /notice #c16#Your #c16#format is set#c1#... #c16#And Saved %NAME%</out>
<out delay="1000">/hidecmd /notice #c16#Type #c1#!formats #c16#to see formats. #c1#!applyformat x #c16#to choose one</out>
<out delay="1000">/hidecmd /notice #c16#Note#c9#; #c16#This is being saved to DB #c1#$savedformats$</out>
</command>

<command type="script" usergroup="formatmaker">
<in>!formatmakersave %PARAM%</in>
<out type="push" extdata="savedformats">%PARAM%</out>
<out delay="500">/hidecmd /notice #c16#Format #c16#DB #c1#$savedformats$ #c16#has been applied</out>
</command>

<command type="script" usergroup="formatmaker">
<in>!formatmakerload %PARAM%</in>
<out type="push" extdata="loadedformats">%PARAM%</out>
<out type="push" extdata="savedformats">%PARAM%</out>

<out delay="500">/hidecmd /notice #c16#Format #c16#DB #c1#$loadedformats$ #c16#has been applied</out>

<out type="push" extdata="FORMAT1"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="FORMAT2"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="2"/></out>
<out type="push" extdata="FORMAT3"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="3"/></out>
<out type="push" extdata="FORMAT4"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="4"/></out>
<out type="push" extdata="FORMAT5"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="5"/></out>
<out type="push" extdata="FORMAT6"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="6"/></out>
<out type="push" extdata="FORMAT7"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="7"/></out>
<out type="push" extdata="FORMAT8"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="8"/></out>
<out type="push" extdata="FORMAT9"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="9"/></out>
<out type="push" extdata="FORMAT10"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="10"/></out>
<out type="push" extdata="FORMAT11"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="11"/></out>
<out type="push" extdata="FORMAT12"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="12"/></out>
<out type="push" extdata="FORMAT13"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="13"/></out>
<out type="push" extdata="FORMAT14"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="14"/></out>
<out type="push" extdata="FORMAT15"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="15"/></out>
<out type="push" extdata="FORMAT16"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="16"/></out>
<out type="push" extdata="FORMAT17"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="17"/></out>
<out type="push" extdata="FORMAT18"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="18"/></out>
<out type="push" extdata="FORMAT19"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="19"/></out>
<out type="push" extdata="FORMAT20"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="20"/></out>
<out type="push" extdata="FORMAT21"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="21"/></out>
<out type="push" extdata="FORMAT22"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="22"/></out>
<out type="push" extdata="FORMAT23"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="23"/></out>
<out type="push" extdata="FORMAT24"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="24"/></out>
<out type="push" extdata="FORMAT25"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="25"/></out>
<out type="push" extdata="FORMAT26"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="26"/></out>
<out type="push" extdata="FORMAT27"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="27"/></out>
<out type="push" extdata="FORMAT28"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="28"/></out>
<out type="push" extdata="FORMAT29"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="29"/></out>
<out type="push" extdata="FORMAT30"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="30"/></out>
<out type="push" extdata="FORMAT31"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="31"/></out>
<out type="push" extdata="FORMAT32"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="32"/></out>
<out type="push" extdata="FORMAT33"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="33"/></out>
<out type="push" extdata="FORMAT34"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="34"/></out>
<out type="push" extdata="FORMAT35"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="35"/></out>
<out type="push" extdata="FORMAT36"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="36"/></out>
<out type="push" extdata="FORMAT37"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="37"/></out>
<out type="push" extdata="FORMAT38"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="38"/></out>
<out type="push" extdata="FORMAT39"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="39"/></out>
<out type="push" extdata="FORMAT40"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="40"/></out>
<out type="push" extdata="FORMAT41"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="41"/></out>
<out type="push" extdata="FORMAT42"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="42"/></out>
<out type="push" extdata="FORMAT43"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="43"/></out>
<out type="push" extdata="FORMAT44"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="44"/></out>
<out type="push" extdata="FORMAT45"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="45"/></out>
<out type="push" extdata="FORMAT46"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="46"/></out>
<out type="push" extdata="FORMAT47"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="47"/></out>
<out type="push" extdata="FORMAT48"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="48"/></out>
<out type="push" extdata="FORMAT49"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="49"/></out>
<out type="push" extdata="FORMAT50"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="50"/></out>
</command>

<command type="script">
<in>!formats</in>
<out type="push" extdata="FORMAT1"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="FORMAT2"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="2"/></out>
<out type="push" extdata="FORMAT3"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="3"/></out>
<out type="push" extdata="FORMAT4"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="4"/></out>
<out type="push" extdata="FORMAT5"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="5"/></out>
<out type="push" extdata="FORMAT6"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="6"/></out>
<out type="push" extdata="FORMAT7"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="7"/></out>
<out type="push" extdata="FORMAT8"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="8"/></out>
<out type="push" extdata="FORMAT9"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="9"/></out>
<out type="push" extdata="FORMAT10"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="10"/></out>
<out type="push" extdata="FORMAT11"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="11"/></out>
<out type="push" extdata="FORMAT12"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="12"/></out>
<out type="push" extdata="FORMAT13"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="13"/></out>
<out type="push" extdata="FORMAT14"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="14"/></out>
<out type="push" extdata="FORMAT15"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="15"/></out>
<out type="push" extdata="FORMAT16"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="16"/></out>
<out type="push" extdata="FORMAT17"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="17"/></out>
<out type="push" extdata="FORMAT18"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="18"/></out>
<out type="push" extdata="FORMAT19"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="19"/></out>
<out type="push" extdata="FORMAT20"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="20"/></out>
<out type="push" extdata="FORMAT21"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="21"/></out>
<out type="push" extdata="FORMAT22"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="22"/></out>
<out type="push" extdata="FORMAT23"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="23"/></out>
<out type="push" extdata="FORMAT24"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="24"/></out>
<out type="push" extdata="FORMAT25"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="25"/></out>
<out type="push" extdata="FORMAT26"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="26"/></out>
<out type="push" extdata="FORMAT27"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="27"/></out>
<out type="push" extdata="FORMAT28"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="28"/></out>
<out type="push" extdata="FORMAT29"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="29"/></out>
<out type="push" extdata="FORMAT30"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="30"/></out>
<out type="push" extdata="FORMAT31"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="31"/></out>
<out type="push" extdata="FORMAT32"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="32"/></out>
<out type="push" extdata="FORMAT33"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="33"/></out>
<out type="push" extdata="FORMAT34"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="34"/></out>
<out type="push" extdata="FORMAT35"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="35"/></out>
<out type="push" extdata="FORMAT36"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="36"/></out>
<out type="push" extdata="FORMAT37"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="37"/></out>
<out type="push" extdata="FORMAT38"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="38"/></out>
<out type="push" extdata="FORMAT39"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="39"/></out>
<out type="push" extdata="FORMAT40"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="40"/></out>
<out type="push" extdata="FORMAT41"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="41"/></out>
<out type="push" extdata="FORMAT42"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="42"/></out>
<out type="push" extdata="FORMAT43"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="43"/></out>
<out type="push" extdata="FORMAT44"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="44"/></out>
<out type="push" extdata="FORMAT45"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="45"/></out>
<out type="push" extdata="FORMAT46"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="46"/></out>
<out type="push" extdata="FORMAT47"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="47"/></out>
<out type="push" extdata="FORMAT48"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="48"/></out>
<out type="push" extdata="FORMAT49"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="49"/></out>
<out type="push" extdata="FORMAT50"><operator type="readfile" nvalue="Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="50"/></out>
<out>/hidecmd /notice Made formats..</out>
<out type="break" condition="1" lvalue="$FORMAT1$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#1| $FORMAT1$</out>
<out type="break" condition="1" lvalue="$FORMAT2$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#2| $FORMAT2$</out>
<out type="break" condition="1" lvalue="$FORMAT3$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#3| $FORMAT3$</out>
<out type="break" condition="1" lvalue="$FORMAT4$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#4| $FORMAT4$</out>
<out type="break" condition="1" lvalue="$FORMAT5$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#5| $FORMAT5$</out>
<out type="break" condition="1" lvalue="$FORMAT6$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#6| $FORMAT6$</out>
<out type="break" condition="1" lvalue="$FORMAT7$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#7| $FORMAT7$</out>
<out type="break" condition="1" lvalue="$FORMAT8$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#8| $FORMAT8$</out>
<out type="break" condition="1" lvalue="$FORMAT9$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#9| $FORMAT9$</out>
<out type="break" condition="1" lvalue="$FORMAT10$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#10| $FORMAT10$</out>
<out type="break" condition="1" lvalue="$FORMAT11$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#11| $FORMAT11$</out>
<out type="break" condition="1" lvalue="$FORMAT12$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#12| $FORMAT12$</out>
<out type="break" condition="1" lvalue="$FORMAT13$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#13| $FORMAT13$</out>
<out type="break" condition="1" lvalue="$FORMAT14$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#14| $FORMAT14$</out>
<out type="break" condition="1" lvalue="$FORMAT15$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#15| $FORMAT15$</out>
<out type="break" condition="1" lvalue="$FORMAT16$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#16| $FORMAT16$</out>
<out type="break" condition="1" lvalue="$FORMAT17$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#17| $FORMAT17$</out>
<out type="break" condition="1" lvalue="$FORMAT18$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#18| $FORMAT18$</out>
<out type="break" condition="1" lvalue="$FORMAT19$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#19| $FORMAT19$</out>
<out type="break" condition="1" lvalue="$FORMAT20$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#20| $FORMAT20$</out>
<out type="break" condition="1" lvalue="$FORMAT21$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#21| $FORMAT21$</out>
<out type="break" condition="1" lvalue="$FORMAT22$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#22| $FORMAT22$</out>
<out type="break" condition="1" lvalue="$FORMAT23$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#23| $FORMAT23$</out>
<out type="break" condition="1" lvalue="$FORMAT24$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#24| $FORMAT24$</out>
<out type="break" condition="1" lvalue="$FORMAT25$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#25| $FORMAT25$</out>
<out type="break" condition="1" lvalue="$FORMAT26$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#26| $FORMAT26$</out>
<out type="break" condition="1" lvalue="$FORMAT27$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#27| $FORMAT27$</out>
<out type="break" condition="1" lvalue="$FORMAT28$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#28| $FORMAT28$</out>
<out type="break" condition="1" lvalue="$FORMAT29$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#29| $FORMAT29$</out>
<out type="break" condition="1" lvalue="$FORMAT30$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#30| $FORMAT30$</out>
<out type="break" condition="1" lvalue="$FORMAT31$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#31| $FORMAT31$</out>
<out type="break" condition="1" lvalue="$FORMAT32$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#32| $FORMAT32$</out>
<out type="break" condition="1" lvalue="$FORMAT33$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#33| $FORMAT33$</out>
<out type="break" condition="1" lvalue="$FORMAT34$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#34| $FORMAT34$</out>
<out type="break" condition="1" lvalue="$FORMAT35$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#35| $FORMAT35$</out>
<out type="break" condition="1" lvalue="$FORMAT36$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#36| $FORMAT36$</out>
<out type="break" condition="1" lvalue="$FORMAT37$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#37| $FORMAT37$</out>
<out type="break" condition="1" lvalue="$FORMAT38$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#38| $FORMAT38$</out>
<out type="break" condition="1" lvalue="$FORMAT39$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#39| $FORMAT39$</out>
<out type="break" condition="1" lvalue="$FORMAT40$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#40| $FORMAT40$</out>
<out type="break" condition="1" lvalue="$FORMAT41$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#41| $FORMAT41$</out>
<out type="break" condition="1" lvalue="$FORMAT42$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#42| $FORMAT42$</out>
<out type="break" condition="1" lvalue="$FORMAT43$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#43| $FORMAT43$</out>
<out type="break" condition="1" lvalue="$FORMAT44$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#44| $FORMAT44$</out>
<out type="break" condition="1" lvalue="$FORMAT45$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#45| $FORMAT45$</out>
<out type="break" condition="1" lvalue="$FORMAT46$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#46| $FORMAT46$</out>
<out type="break" condition="1" lvalue="$FORMAT47$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#47| $FORMAT47$</out>
<out type="break" condition="1" lvalue="$FORMAT48$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#48| $FORMAT48$</out>
<out type="break" condition="1" lvalue="$FORMAT49$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#49| $FORMAT49$</out>
<out type="break" condition="1" lvalue="$FORMAT50$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#50| $FORMAT50$</out>
</command>

// apply the format (Depends on the Loaded DB)
<command type="script">
<in>!applyformat %PARAM%</in>
<out type="push" extdata="formatlast">%PARAM%</out>
<out>/hidecmd /setformat %RAWNAME% $FORMAT%PARAM%$</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#$FORMAT%PARAM%$ #c16#has been applied to you %NAME%</out>
</command>

// no no!
<command type="script" usergroup="!formatmaker">
<in>!setformatnumber %PARAM%</in>
<out delay="500">/hidecmd /notice #c16#You #c16#do not have access to use this</out>
</command>

// no no!
<command type="script" usergroup="!formatmaker">
<in>!setformatto %PARAM%</in>
<out delay="500">/hidecmd /notice #c16#You #c16#do not have access to use this</out>
</command>

// Choose a format number (Depends on the DB thats loaded)
<command type="script" usergroup="formatmaker">
<in>!setformatnumber %PARAM%</in>
<out type="push" extdata="setformatnumber">%PARAM%</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#%PARAM% #c16#selected</out>
</command>


// Then choose a username
<command type="script" usergroup="formatmaker">
<in>!setformatto %PARAM%</in>
<out type="push" extdata="setformatto">%PARAM%</out>
<out>/hidecmd /setformat $setformatto$ $FORMAT%USERVAR[setformatnumber]%$</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#$FORMAT%USERVAR[setformatnumber]%$ #c16#has been applied to #c1#$setformatto$</out>
</command>


// directions
<command type="script">
<in>!formatmaker</in>
<out delay="500">/hidecmd /notice #c16#Welcome #c16#to the Format Maker</out>
<out delay="500">/hidecmd /notice #c16#Type #c1#/makeformat 'format' #c16#to make your own format. Example; #c1#/makeformat &sect;NAME&sect; &sect;TEXT&sect;</out>
<out delay="500">/hidecmd /notice #c16#Type #c1#!formats #c16#for a list of already made formats. Type #c1#!applyformat x #c16#to select one.</out>
</command>

</config>

Offline Snick512

  • Forum Member
Re: Format Maker
« Reply #1 on: December 05, 2007, 08:37:40 pm »
oh btw, i forgot to mention, friend of mine gave me the idea of applying it so i did it :)

Offline tig

  • Forum Member
  • WinMXWorld.com Help_AE182F4EBABE
Re: Format Maker
« Reply #2 on: December 05, 2007, 10:46:07 pm »
Thankyou Snick for sharing it with us all.
People become really quite remarkable when they start thinking that they can do things. When they believe in themselves they have the first secret of success. BY Norman Vincent Peale

Offline Snick512

  • Forum Member
Re: Format Maker
« Reply #3 on: December 11, 2007, 02:32:19 pm »
Erm.. The remake...

This has raw directory that you can set.

Make sure after set directory, to !formatmakerload x so that it chooses a db.

Code: [Select]
// formats directory (Make sure text file exsists, if not dont worry about it)
//
// This is the first thing you should do, before selecting the database
<command type="script" usergroup="formatmaker">
<in>!formatmakerdir %PARAM%</in>
<out type="push" extdata="formatsdir">%PARAM%\</out>
<out delay="500">/hidecmd /notice #c16#Formats #c16#Directory set to #c1#$formatsdir$</out>
</command>

So you do this

Code: [Select]
!formatmakerdir C:\Program Files\RoboMX\bot\PluginsNo trailing slashes "\" or "/" . It already in there


Here is the full thing

Code: [Select]
<config>

// format maker

// This is for loading Databases, and Applying selected formats to people
<usergroup name="formatmaker">
*Snick*
*Her*
*Qween*
*DS*
</usergroup>


// formats directory (Make sure text file exsists, if not dont worry about it)
//
// This is the first thing you should do, before selecting the database
<command type="script" usergroup="formatmaker">
<in>!formatmakerdir %PARAM%</in>
<out type="push" extdata="formatsdir">%PARAM%\</out>
<out delay="500">/hidecmd /notice #c16#Formats #c16#Directory set to #c1#$formatsdir$</out>
</command>

<command type="script">
<in>/makeformat %PARAM%</in>
<out type="file" extdata="%USERVAR[formatsdir]%Formats%USERVAR[savedformats]%.txt" mode="a">%PARAM%\n</out>
<out delay="500">/hidecmd /setformat %RAWNAME% %PARAM%</out>
<out delay="1000">/hidecmd /notice #c16#Your #c16#format is set#c1#... #c16#And Saved %NAME%</out>
<out delay="1000">/hidecmd /notice #c16#Type #c1#!formats #c16#to see formats. #c1#!applyformat x #c16#to choose one</out>
<out delay="1000">/hidecmd /notice #c16#Note#c9#; #c16#This is being saved to DB #c1#$savedformats$</out>
</command>

<command type="script" usergroup="formatmaker">
<in>!formatmakersave %PARAM%</in>
<out type="push" extdata="savedformats">%PARAM%</out>
<out delay="500">/hidecmd /notice #c16#Format #c16#DB #c1#$savedformats$ #c16#has been applied</out>
</command>

<command type="script" usergroup="formatmaker">
<in>!formatmakerload %PARAM%</in>
<out type="push" extdata="loadedformats">%PARAM%</out>
<out type="push" extdata="savedformats">%PARAM%</out>

<out delay="500">/hidecmd /notice #c16#Format #c16#DB #c1#$loadedformats$ #c16#has been applied</out>

<out type="push" extdata="FORMAT1"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="FORMAT2"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="2"/></out>
<out type="push" extdata="FORMAT3"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="3"/></out>
<out type="push" extdata="FORMAT4"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="4"/></out>
<out type="push" extdata="FORMAT5"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="5"/></out>
<out type="push" extdata="FORMAT6"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="6"/></out>
<out type="push" extdata="FORMAT7"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="7"/></out>
<out type="push" extdata="FORMAT8"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="8"/></out>
<out type="push" extdata="FORMAT9"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="9"/></out>
<out type="push" extdata="FORMAT10"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="10"/></out>
<out type="push" extdata="FORMAT11"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="11"/></out>
<out type="push" extdata="FORMAT12"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="12"/></out>
<out type="push" extdata="FORMAT13"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="13"/></out>
<out type="push" extdata="FORMAT14"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="14"/></out>
<out type="push" extdata="FORMAT15"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="15"/></out>
<out type="push" extdata="FORMAT16"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="16"/></out>
<out type="push" extdata="FORMAT17"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="17"/></out>
<out type="push" extdata="FORMAT18"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="18"/></out>
<out type="push" extdata="FORMAT19"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="19"/></out>
<out type="push" extdata="FORMAT20"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="20"/></out>
<out type="push" extdata="FORMAT21"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="21"/></out>
<out type="push" extdata="FORMAT22"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="22"/></out>
<out type="push" extdata="FORMAT23"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="23"/></out>
<out type="push" extdata="FORMAT24"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="24"/></out>
<out type="push" extdata="FORMAT25"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="25"/></out>
<out type="push" extdata="FORMAT26"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="26"/></out>
<out type="push" extdata="FORMAT27"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="27"/></out>
<out type="push" extdata="FORMAT28"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="28"/></out>
<out type="push" extdata="FORMAT29"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="29"/></out>
<out type="push" extdata="FORMAT30"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="30"/></out>
<out type="push" extdata="FORMAT31"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="31"/></out>
<out type="push" extdata="FORMAT32"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="32"/></out>
<out type="push" extdata="FORMAT33"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="33"/></out>
<out type="push" extdata="FORMAT34"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="34"/></out>
<out type="push" extdata="FORMAT35"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="35"/></out>
<out type="push" extdata="FORMAT36"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="36"/></out>
<out type="push" extdata="FORMAT37"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="37"/></out>
<out type="push" extdata="FORMAT38"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="38"/></out>
<out type="push" extdata="FORMAT39"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="39"/></out>
<out type="push" extdata="FORMAT40"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="40"/></out>
<out type="push" extdata="FORMAT41"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="41"/></out>
<out type="push" extdata="FORMAT42"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="42"/></out>
<out type="push" extdata="FORMAT43"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="43"/></out>
<out type="push" extdata="FORMAT44"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="44"/></out>
<out type="push" extdata="FORMAT45"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="45"/></out>
<out type="push" extdata="FORMAT46"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="46"/></out>
<out type="push" extdata="FORMAT47"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="47"/></out>
<out type="push" extdata="FORMAT48"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="48"/></out>
<out type="push" extdata="FORMAT49"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="49"/></out>
<out type="push" extdata="FORMAT50"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="50"/></out>
</command>

<command type="script">
<in>!formats</in>
<out type="push" extdata="FORMAT1"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="1"/></out>
<out type="push" extdata="FORMAT2"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="2"/></out>
<out type="push" extdata="FORMAT3"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="3"/></out>
<out type="push" extdata="FORMAT4"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="4"/></out>
<out type="push" extdata="FORMAT5"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="5"/></out>
<out type="push" extdata="FORMAT6"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="6"/></out>
<out type="push" extdata="FORMAT7"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="7"/></out>
<out type="push" extdata="FORMAT8"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="8"/></out>
<out type="push" extdata="FORMAT9"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="9"/></out>
<out type="push" extdata="FORMAT10"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="10"/></out>
<out type="push" extdata="FORMAT11"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="11"/></out>
<out type="push" extdata="FORMAT12"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="12"/></out>
<out type="push" extdata="FORMAT13"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="13"/></out>
<out type="push" extdata="FORMAT14"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="14"/></out>
<out type="push" extdata="FORMAT15"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="15"/></out>
<out type="push" extdata="FORMAT16"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="16"/></out>
<out type="push" extdata="FORMAT17"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="17"/></out>
<out type="push" extdata="FORMAT18"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="18"/></out>
<out type="push" extdata="FORMAT19"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="19"/></out>
<out type="push" extdata="FORMAT20"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="20"/></out>
<out type="push" extdata="FORMAT21"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="21"/></out>
<out type="push" extdata="FORMAT22"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="22"/></out>
<out type="push" extdata="FORMAT23"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="23"/></out>
<out type="push" extdata="FORMAT24"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="24"/></out>
<out type="push" extdata="FORMAT25"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="25"/></out>
<out type="push" extdata="FORMAT26"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="26"/></out>
<out type="push" extdata="FORMAT27"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="27"/></out>
<out type="push" extdata="FORMAT28"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="28"/></out>
<out type="push" extdata="FORMAT29"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="29"/></out>
<out type="push" extdata="FORMAT30"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="30"/></out>
<out type="push" extdata="FORMAT31"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="31"/></out>
<out type="push" extdata="FORMAT32"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="32"/></out>
<out type="push" extdata="FORMAT33"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="33"/></out>
<out type="push" extdata="FORMAT34"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="34"/></out>
<out type="push" extdata="FORMAT35"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="35"/></out>
<out type="push" extdata="FORMAT36"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="36"/></out>
<out type="push" extdata="FORMAT37"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="37"/></out>
<out type="push" extdata="FORMAT38"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="38"/></out>
<out type="push" extdata="FORMAT39"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="39"/></out>
<out type="push" extdata="FORMAT40"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="40"/></out>
<out type="push" extdata="FORMAT41"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="41"/></out>
<out type="push" extdata="FORMAT42"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="42"/></out>
<out type="push" extdata="FORMAT43"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="43"/></out>
<out type="push" extdata="FORMAT44"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="44"/></out>
<out type="push" extdata="FORMAT45"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="45"/></out>
<out type="push" extdata="FORMAT46"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="46"/></out>
<out type="push" extdata="FORMAT47"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="47"/></out>
<out type="push" extdata="FORMAT48"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="48"/></out>
<out type="push" extdata="FORMAT49"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="49"/></out>
<out type="push" extdata="FORMAT50"><operator type="readfile" nvalue="%USERVAR[formatsdir]%Formats%USERVAR[loadedformats]%.txt" lvalue="l" rvalue="50"/></out>
<out>/hidecmd /notice #c16#Here #c16#is list of formats#c9#; #c16#To select a format type#c9#; #c1#!applyformat x #c16#x being number</out>
<out type="break" condition="1" lvalue="$FORMAT1$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#1 #c9#| $FORMAT1$</out>
<out type="break" condition="1" lvalue="$FORMAT2$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#2 #c9#| $FORMAT2$</out>
<out type="break" condition="1" lvalue="$FORMAT3$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#3 #c9#| $FORMAT3$</out>
<out type="break" condition="1" lvalue="$FORMAT4$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#4 #c9#| $FORMAT4$</out>
<out type="break" condition="1" lvalue="$FORMAT5$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#5 #c9##c9#| $FORMAT5$</out>
<out type="break" condition="1" lvalue="$FORMAT6$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#6 #c9#| $FORMAT6$</out>
<out type="break" condition="1" lvalue="$FORMAT7$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#7 #c9#| $FORMAT7$</out>
<out type="break" condition="1" lvalue="$FORMAT8$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#8 #c9#| $FORMAT8$</out>
<out type="break" condition="1" lvalue="$FORMAT9$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#9 #c9#| $FORMAT9$</out>
<out type="break" condition="1" lvalue="$FORMAT10$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#10 #c9#| $FORMAT10$</out>
<out type="break" condition="1" lvalue="$FORMAT11$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#11 #c9#| $FORMAT11$</out>
<out type="break" condition="1" lvalue="$FORMAT12$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#12 #c9#| $FORMAT12$</out>
<out type="break" condition="1" lvalue="$FORMAT13$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#13 #c9#| $FORMAT13$</out>
<out type="break" condition="1" lvalue="$FORMAT14$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#14 #c9#| $FORMAT14$</out>
<out type="break" condition="1" lvalue="$FORMAT15$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#15 #c9#| $FORMAT15$</out>
<out type="break" condition="1" lvalue="$FORMAT16$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#16 #c9#| $FORMAT16$</out>
<out type="break" condition="1" lvalue="$FORMAT17$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#17 #c9#| $FORMAT17$</out>
<out type="break" condition="1" lvalue="$FORMAT18$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#18 #c9#| $FORMAT18$</out>
<out type="break" condition="1" lvalue="$FORMAT19$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#19 #c9#| $FORMAT19$</out>
<out type="break" condition="1" lvalue="$FORMAT20$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#20 #c9#| $FORMAT20$</out>
<out type="break" condition="1" lvalue="$FORMAT21$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#21 #c9#| $FORMAT21$</out>
<out type="break" condition="1" lvalue="$FORMAT22$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#22 #c9#| $FORMAT22$</out>
<out type="break" condition="1" lvalue="$FORMAT23$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#23 #c9#| $FORMAT23$</out>
<out type="break" condition="1" lvalue="$FORMAT24$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#24 #c9#| $FORMAT24$</out>
<out type="break" condition="1" lvalue="$FORMAT25$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#25 #c9#| $FORMAT25$</out>
<out type="break" condition="1" lvalue="$FORMAT26$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#26 #c9#| $FORMAT26$</out>
<out type="break" condition="1" lvalue="$FORMAT27$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#27 #c9#| $FORMAT27$</out>
<out type="break" condition="1" lvalue="$FORMAT28$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#28 #c9#| $FORMAT28$</out>
<out type="break" condition="1" lvalue="$FORMAT29$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#29 #c9#| $FORMAT29$</out>
<out type="break" condition="1" lvalue="$FORMAT30$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#30 #c9#| $FORMAT30$</out>
<out type="break" condition="1" lvalue="$FORMAT31$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#31 #c9#| $FORMAT31$</out>
<out type="break" condition="1" lvalue="$FORMAT32$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#32 #c9#| $FORMAT32$</out>
<out type="break" condition="1" lvalue="$FORMAT33$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#33 #c9#| $FORMAT33$</out>
<out type="break" condition="1" lvalue="$FORMAT34$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#34 #c9#| $FORMAT34$</out>
<out type="break" condition="1" lvalue="$FORMAT35$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#35 #c9#| $FORMAT35$</out>
<out type="break" condition="1" lvalue="$FORMAT36$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#36 #c9#| $FORMAT36$</out>
<out type="break" condition="1" lvalue="$FORMAT37$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#37 #c9#| $FORMAT37$</out>
<out type="break" condition="1" lvalue="$FORMAT38$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#38 #c9#| $FORMAT38$</out>
<out type="break" condition="1" lvalue="$FORMAT39$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#39 #c9#| $FORMAT39$</out>
<out type="break" condition="1" lvalue="$FORMAT40$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#40 #c9#| $FORMAT40$</out>
<out type="break" condition="1" lvalue="$FORMAT41$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#41 #c9#| $FORMAT41$</out>
<out type="break" condition="1" lvalue="$FORMAT42$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#42 #c9#| $FORMAT42$</out>
<out type="break" condition="1" lvalue="$FORMAT43$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#43 #c9#| $FORMAT43$</out>
<out type="break" condition="1" lvalue="$FORMAT44$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#44 #c9#| $FORMAT44$</out>
<out type="break" condition="1" lvalue="$FORMAT45$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#45 #c9#| $FORMAT45$</out>
<out type="break" condition="1" lvalue="$FORMAT46$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#46 #c9#| $FORMAT46$</out>
<out type="break" condition="1" lvalue="$FORMAT47$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#47 #c9#| $FORMAT47$</out>
<out type="break" condition="1" lvalue="$FORMAT48$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#48 #c9#| $FORMAT48$</out>
<out type="break" condition="1" lvalue="$FORMAT49$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#49 #c9#| $FORMAT49$</out>
<out type="break" condition="1" lvalue="$FORMAT50$" rvalue=""></out>
<out>/hidecmd /notice #c16#Format #c16#50 #c9#| $FORMAT50$</out>
</command>

// apply the format (Depends on the Loaded DB)
<command type="script">
<in>!applyformat %PARAM%</in>
<out type="push" extdata="formatlast">%PARAM%</out>
<out>/hidecmd /setformat %RAWNAME% $FORMAT%PARAM%$</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#$FORMAT%PARAM%$ #c16#has been applied to you %NAME%</out>
</command>

// no no!
<command type="script" usergroup="!formatmaker">
<in>!setformatnumber %PARAM%</in>
<out delay="500">/hidecmd /notice #c16#You #c16#do not have access to use this</out>
</command>

// no no!
<command type="script" usergroup="!formatmaker">
<in>!setformatto %PARAM%</in>
<out delay="500">/hidecmd /notice #c16#You #c16#do not have access to use this</out>
</command>

// Choose a format number (Depends on the DB thats loaded)
<command type="script" usergroup="formatmaker">
<in>!setformatnumber %PARAM%</in>
<out type="push" extdata="setformatnumber">%PARAM%</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#%PARAM% #c16#selected</out>
</command>


// Then choose a username
<command type="script" usergroup="formatmaker">
<in>!setformatto %PARAM%</in>
<out type="push" extdata="setformatto">%PARAM%</out>
<out>/hidecmd /setformat $setformatto$ $FORMAT%USERVAR[setformatnumber]%$</out>
<out delay="500">/hidecmd /notice #c16#Format #c1#$FORMAT%USERVAR[setformatnumber]%$ #c16#has been applied to #c1#$setformatto$</out>
</command>


// directions
<command type="script">
<in>!formatmaker</in>
<out delay="500">/hidecmd /notice #c16#Welcome #c16#to the Format Maker</out>
<out delay="500">/hidecmd /notice #c16#Type #c1#/makeformat 'format' #c16#to make your own format. Example; #c1#/makeformat &sect;NAME&sect; &sect;TEXT&sect;</out>
<out delay="500">/hidecmd /notice #c16#Do #c16#not make useless formats, they will be #c1#erased#c16#! And you'll be #c8#banned #c16#from using this!</out>
<out delay="500">/hidecmd /notice #c16#Type #c1#!formats #c16#for a list of already made formats. Type #c1#!applyformat x #c16#to select one.</out>
<out delay="500">/hidecmd /notice #c1#[#c9#Admins#c1#] #c16#For #c16#switching DB's #c1#!formatmakerload x #c16#default is #c8#" " #c16#meaning nothing. #c9#Tip set it to #c2#0#c9#. #c16#It's currently set at DB #c1#$savedformats$</out>
</command>

</config>

I'll be trying to get this work on 2.8 as soon as I can find the latest beta. So if anyone has it, link me please

Offline Snick512

  • Forum Member
Re: Format Maker
« Reply #4 on: December 11, 2007, 02:33:32 pm »
Extra note;

when i had made this script, i made it on linux, using wine to run the bot. So i didn't think aboutdirectories really, it worked right off even with using different databaes. but now since i have windows xp on here as virtualmachine, i figured i'd see why it not working on 2.8.. Im guessing it could be that 2.8 needs a raw directory, rather than just asaved location if you get what i mean.

That's why I added directories

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Format Maker
« Reply #5 on: June 08, 2008, 01:27:17 am »
Never got around to trying this until just lastnight.... Cool script Snick ,it works great  :D

Offline alisons1243

  • Forum Member
Re: Format Maker
« Reply #6 on: June 28, 2008, 06:58:06 pm »
hi will that work on wcs

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Format Maker
« Reply #7 on: June 28, 2008, 09:54:45 pm »
Hi alisons,yes it will work for WCS,it's actually created for WCS  ;)

Offline Mr.Snicky

  • Forum Member
  • Yep?
Re: Format Maker
« Reply #8 on: July 05, 2008, 11:26:41 am »
thanks

WinMX World :: Forum  |  Metis Scripts and Help  |  Other Metis scripts  |  Format Maker
 

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