Jump to content

Remote Access to MIRC (dont understand how write it//)


NextDeaD

Recommended Posts

Posted

Help me please write a script. script must give remote access to mirC, so he must reload scripts on distance a so on...maybe you can write this script when i type this commands from my mirc(on my computer) to mirc(remote admin) on some channel to reload scripts....And if you can write, type please script to upload files on this computer(mirc remote admin) server by my mirc...

Posted

For example: On some channel i type from my mirc to mirc(where we have remote admin) command.... (to reload scripts on mirc.), he reload this scripts..

Posted

so u want a command to use from IRC, to restart the script.

easy enough. Add this to the IRC running the scripts and IRC channel.

;Add ur IRC channel name below
on *:TEXT:!*:#MYCHANNEL:{
 ;add ur nick in the place below.
 if (($1 == !restartscript) && ($nick == YOURNICK)) {
   ;change the 1 below for ur serverID (tab)
   mta.disconnect 1
   .timer 1 3 mta.connect 1
   ;Add ur IRC channel name below
   !msg #MYCHANNEL Script Restarting.
 }
}

once u get it working,

u can remove the lines beginning with a semicolon. ;

hope this is what u meant anyway

lol np if its not.

:lol:

Posted

One little moment!!! When mirc connect and disconnect, scripts dont reloaded...(i need to reload script when i upload script file on server where this mirc/)//

Posted

not really sure why u would need to reload the script but here.

;Add ur IRC channel name below
on *:TEXT:!*:#MYCHANNEL:{
 ;add ur nick in the place below.
 if (($1 == !restartscript) && ($nick == YOURNICK)) {
   ;change the 1 below for ur serverID (tab)
   mta.disconnect 1
   .timer 1 3 mta.connect 1
   ;Add ur IRC channel name below
   !msg #MYCHANNEL Script Restarting.
   !.reload -rs $+(",$script,")
 }
}

make sure u add this into the main script u need reloading, or it will only reload the current script, instead of ur main script.

Posted

so an example of what scoob means

on *:TEXT:!restart*:*:{
if ($nick !isaop $chan) {
   /mta.disconnect 1 
   .timer 1 3 /mta.connect 1 
  /msg $chan Script Restarting. 
   !.reload -rs $+(",$script,") 
 } 
} 

Posted

u want to upload files from one pc's mirc to the pc hosting ur script/server's mirc into the scriptdir ??? what files could u possible want to upload???

use some kind of remote access. much quicker :lol:

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...