Jump to content

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


NextDeaD

Recommended Posts

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...

Link to comment

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:

Link to comment

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.

Link to comment
  • Recently Browsing   0 members

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