BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Suggestions / New Features
 Magic Script - Suggestions

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Prinz Posted - 24 Apr 2010 : 18:36:51
Since i have corrected many Script i put a List of Functions together which would help in future.

---------------------

#COMPUTELINE#

Makes a SUM or SUBTRACTION to the LINE variable.

Syntax:

#COMPUTELINE#=±number

Parameters:

± Required. Is the operation you want make.
number Required. Is the Value to SUM or SUBTRACT

Examples:

1.
#COMPUTELINE#=+2
Goes 2 lines down in the html

2.
#COMPUTELINE#=-3
Goes 3 lines up in the html

---------------------

#LOADWEBSITELINE#

Loads a value in the Line Variable.

Syntax:

#LOADWEBSITELINE#=#??#

Parameters:

#??# Required. The Variable where the value is stored.

Examples:

#PUT#=10#03#
#LOADWEBSITELINE#=#03#

Go to the 10 Line in the Html

---------------------

#CHECKEPISODEEXIST#

Checks if the Episode is already in the Database.

Syntax:

#CHECKEPISODEEXIST#=#?1#,#?2#,#?3#

Parameters:

#?1# Required. The Variable where the RESULT is stored. 0 or Episode's ID in database.
#?2# Required. The Variable where the SEASONNUMBER is stored.
#?3# Required. The Variable where the EPISODENUMBER is stored.

Examples:

#PUT#=2#04#
#PUT#=5#05#
#CHECKEPISODEEXIST#=#03#,#04#,#05#
This example it checks if the 5. Episode in the 2. Season exists and returns the result on the #03# variable.

---------------------

#FINDINVAR#

Search for a string in a Variable.

Syntax:

#FINDINVAR#=#?1#,#?2#,#?3# #ONERROR#=*options*

Parameters:

#?1# Required. Variable in which to search.
#?2# Required. Variable with the text to find in another Variable.
#?3# Required. 0 if not found and 1 if found.
#ONERROR#=*options* Optional. In the options you can specify what Engine must do in case of ERROR of the Function :
STOP -> Will terminate the BLOCK where is the Function.
ASK -> Will show you the message of error and the script-line where is located
OK -> Will ignore the error and go on with executing the others functions

Examples:

#PUT#=This is the Text to search in.#02#
#PUT#=to#03#
#FIND#=#02#,#03##12##ONERROR#=*OK*

Searches for the "to" in the Variable #02# and sets the Variable #12# anything but 0
---------------------

#REPLACEINVAR#

Search for a string inside a variable and replace it with another string.

Syntax:

#FINDINVAR#=#?1#,#?2#,#?3# #ONERROR#=*options*

Parameters:

#?1# Required. Variable with the text to find in another Variable.
#?2# Required. Variable with the text to replace the text #?2# with.
#?3# Required. Variable in which to search and replace.
#ONERROR#=*options* Optional. In the options you can specify what Engine must do in case of ERROR of the Function :
STOP -> Will terminate the BLOCK where is the Function.
ASK -> Will show you the message of error and the script-line where is located
OK -> Will ignore the error and go on with executing the others functions

Examples:

#PUT#=Text#02#
#PUT#=Data#03#
#PUT#=This is the Text to search in.#04#
#FIND#=#02#,#03##04##ONERROR#=*OK*

Searches for the "to" in the Variable #04# and replaces the Text "Text" from the Variable #02# with the Text "Data" from the Variable #03#

---------------------

#GETMOVIEVAR#=#23#=#MOVIEID#

Get Web-ID of the Movie/TV-Show. Used in the #RIGHTPAGEFOUND# Block. The %MOVIEID% gets the Database ID not the Web-ID of the movie which is useless in the Script.
1   L A T E S T    R E P L I E S    (Newest First)
Alessio Viti Posted - 26 Apr 2010 : 07:32:44
Hi Prinz!

Good suggestions!

I will try to develop it soon, you have made great job with scripts these months.

Thank you very much!

Alessio

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.06 sec. Powered By: Snitz Forums 2000 Version 3.4.07