mIRC Home    About    Download    Register    News    Help

Print Thread
#107394 09/01/05 07:47 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
Code:
    //write -i Login.htm <head> 
    //write -i Login.htm <script> 
    //write -i Login.htm function send()[color:red]{ [/color] 
    //write -i Login.htm document.forms['Form'].submit(); 
    //write -i Login.htm [color:red]} [/color] 
    //write -i Login.htm </script> 
    //write -i Login.htm </head> 
    //write -i Login.htm <body onload="send();"> 
    //write -i Login.htm </body>
 


So i need to write to the htm file }{ this singes, but mine problem is that mirc recognize this commands and he isnt adding this singes to the htm file. is theare some way to solve this?

Last edited by bog__; 09/01/05 07:47 PM.
#107395 09/01/05 07:50 PM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
replace { with $chr(123) and } with $chr(125)

#107396 09/01/05 07:50 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You can use $() -it's the same as $eval()

  • write -i Login.htm function send() $({,0)

#107397 09/01/05 07:51 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
  write -i Login.htm <script> 
  write -i Login.htm function send() [color:red]$([/color]{[color:red],)[/color] 
  write -i Login.htm document.forms['Form'].submit(); 
  write -i Login.htm [color:red]$([/color]}[color:red],)[/color]
  write -i Login.htm </script> 
  write -i Login.htm </head> 
  write -i Login.htm <body onload="send();"> 
  write -i Login.htm </body>


New username: hixxy
#107398 09/01/05 07:54 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
Never minde

insted of this
//write -i Login.htm function send(){
//write -i Login.htm document.forms['Form'].submit();
//write -i Login.htm }

i used one line

//write -i Login.htm function send(){document.forms['Form'].submit();}

but im still interested, is there a way for this to be add }{ to the txt or htm document

#107399 09/01/05 07:55 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
There have been two methods of doing what you want posted.


New username: hixxy
#107400 09/01/05 07:55 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
sh** you are fast thanks grin


Link Copied to Clipboard