BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 RIGHTPAGEFOUND issues?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

MsclFr
Starting Member

5 Posts

Posted - 17 May 2016 :  03:40:54  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am trying to write a script and it is driving me insane... For some reason the RIGHTPAGEDFOUND doesn't work. Here's what I have. What am I doing wrong?


-----------------------------------------------
-            eXtreme Movie Manager            -
-            MagicScript Technology           -
-         2001-2016 BinaryWorks.it            -
-----------------------------------------------

#MADEBY#=Dom Quixote
#DATEBUILD#=2016-05-17 - 00:42
#WEBSITE#=TLAVIDEO.COM (Adult Gay M2M)
#NOTE#=Import Info and DVD Covers
#REPLACESPACES#=+
#SCRIPTQUALITY#=4
#ICONQUALITY#=4
#SCRIPTGENERATION#=3
#TVSERIES#=FALSE
#SCRIPTFORACTORS#=FALSE


//New Tags of MagicScript Engine Generation 3        
#LANGUAGESORT#=EN
[LANGUAGESORT]=EN=English

#TYPE#=8
[TYPE]=0=Complete|1=Covers|2=Trailers|3=Tunes|4=Subtitles|5=Chains|6=Mistakes|7=Games|8=Adult|9=Anime

#OPTIONS#=0
[OPTIONS]0=No Options|1=With Options  

#LOADOPTIONS#
#ENDLOADOPTIONS#

#SETVARIABLES#
    // make sure we are past the splash screen
    #PUT#=http://www.tlavideo.com/adult_splash/pass.cfm?go=http://www.tlavideo.com#03#
    #OPENWEBSLOT2#=#03#
    #PUT#=http://www.tlavideo.com/results/index.cfm?searchtext=#MOVIE#+&g=0&ao=0&v=3#03#
    #OPENWEBSLOT1#=#03#
    // variable for comparing
    #PUT#=0#00#
    #PUT#=0#01#
    #PUT#=0#02#
    #PUT#=0#03#
    #PUT#=0#04#
    #PUT#=0#05#
    #PUT#=0#06#
    #PUT#=0#07#
    #PUT#=0#08#
    #PUT#=0#09#
    #PUT#=0#10#
    #PUT#=0#11#
    #PUT#=0#12#
    #PUT#=0#13#
    #PUT#=0#15#
    #PUT#=0#14#
    #PUT#=0#16#
    #PUT#=0#17#
    #PUT#=0#18#
    #PUT#=0#19#
    #PUT#=0#20#
#ENDSETVARIABLES#

#WEBQUERY#=http://www.tlavideo.com/results/index.cfm?searchtext=#MOVIE#+&g=0&ao=0&v=3
#SCRIPTWEBSITE#=http://www.tlavideo.com/

--RIGHT PAGE--------------------------------------------------------------------------------
#RIGHTPAGEFOUND#
    #LOADWEBSLOT1#
    #STARTREADWEB#
    #PUT#=1#01#    
    #FINDLINE#=<title>Buy#02# #ONERROR#=*OK*
    #CONDITIONRIGHTPAGE# #01#==#02#
#ENDRIGHTPAGEFOUND#

-MOVIE LIST--------------------------------------------------------------------------------
#CREATEMOVIELIST#
    #STARTREADWEB#
    #RESTOREMAIN#
:CREATEMOVIELIST 
    #PUT#=0#00#
    #PUT#=1#01#
    #FIND#=We're sorry there are no#02# #ONERROR#=*OK*
    #IF# #01#==#02#
         #WRITETITLELIST#=
         #WRITETITLELIST#=NO MOVIES FOUND
         #WRITETITLELIST#=
	     #GOTO#=EXITCREATEMOVIELIST
    #ENDIF#
    #WRITETITLELIST#=    
    #WRITETITLELIST#=Double Click On Movie
    #WRITETITLELIST#=-------------------------------
    #REPEAT#
            #FINDLINE#=<div class="product-info">#10# #ONERROR#=*STOP*
            #READNEXTLINE#=1   
            #READNEXTLINE#=1
            #READNEXTLINE#=1   
            #FIND#="#01# #ONERROR#=*OK*
            #FIND#=">#02# #ONERROR#=*OK*
            #TAKEWORD#=#03#,#01#,#02#   
            #FIND#=;">#01# #ONERROR#=*OK* 
       	    #FIND#=>#01# #ONERROR#=*OK*                   
		    #FIND#=</#02# #ONERROR#=*OK*
            #TAKEWORD#=#04#,#01#,#02#
            #STRING#=#09#=http://www.tlavideo.com/#03#
            #WRITETITLELIST#=#09#   ---> #04#
    #WHILE# #00#<>#10#
:EXITCREATEMOVIELIST 
#ENDCREATEMOVIELIST#

JDommi
Administrator

Germany
4650 Posts

Posted - 17 May 2016 :  07:49:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
#PUT#=http://www.tlavideo.com/adult_splash/pass.cfm?go=http://www.tlavideo.com#03#

You cant assign the #MOVIE# to a variable that way
Use instead:
#GETMOVIEVAR#=#03#=#MOVIE# //or %MOVIE% or %title%
#STRING#=#03#=http://www.tlavideo.com/adult_splash/pass.cfm?go=http://www.tlavideo.com#03#

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07