mIRC Home    About    Download    Register    News    Help

Print Thread
#230955 26/03/11 03:08 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

i have this code but does not remove the
Code:
&
can anyone help

Code:
  elseif (<meta name="title" content=" isin %youtube_temp) {
    var %m = $remove(%youtube_temp,<meta name="title" content=",">, $+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+ , $+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ , $+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+ )
  }


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #230957 26/03/11 03:11 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Why not just...

Code:
$remove(%var,&amp;)


?

Last edited by Riamus2; 26/03/11 03:12 PM.

Invision Support
#Invision on irc.irchighway.net
westor #230960 26/03/11 03:56 PM
Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
It's not working because you're not asking $remove to remove
Code:
&amp;
but either :
Code:
$+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+
which is &amp;quot;
or
$+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ 
which is &amp;#39;
or 
$+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+
which is &amp;amp;
Of course none of this is present inside the variable, next time triple check what you are doing.
Also, you don't need $+ with $null value ($remove(text, $+ text1 $+ ) is just $remove(text,text1))

Last edited by Wims; 26/03/11 03:58 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Riamus2 #230961 26/03/11 04:12 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Originally Posted By: Riamus2
Why not just...

Code:
$remove(%var,&amp;)


?


i use it and does not remove it!

http://www.youtube.com/watch?v=fJrD6dioTEQ

=
Code:
Non Stop Greek Pop &amp; Rock by Dj KOSTA Vol2 6a of 7 NON STOP GREEK MUSIC


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Wims #230962 26/03/11 04:13 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Originally Posted By: Wims
It's not working because you're not asking $remove to remove
Code:
&amp;
but either :
Code:
$+ $chr(38) $+ amp $+ $chr(59) $+ quot $+ $chr(59) $+
which is &amp;quot;
or
$+ $chr(38) $+ amp $+ $chr(59) $+ $chr(35) $+ 39 $+ $chr(59) $+ 
which is &amp;#39;
or 
$+ $chr(38) $+ amp $+ $chr(59) $+ amp $+ $chr(59) $+
which is &amp;amp;
Of course none of this is present inside the variable, next time triple check what you are doing.
Also, you don't need $+ with $null value ($remove(text, $+ text1 $+ ) is just $remove(text,text1))


Do you know how can i fix it?


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #230964 26/03/11 04:19 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
I found the prob and fixed, thanks for help guys


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #230966 26/03/11 05:05 PM
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Originally Posted By: westor
I found the prob and fixed, thanks for help guys
Why not show people how you have fixed the problem so other people can benefit from the similar issue when they search for an answer in the future?

westor #230974 26/03/11 07:34 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
As you have been told, do not post videos.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard