mIRC Home    About    Download    Register    News    Help

Print Thread
#146221 01/04/06 07:09 PM
Joined: Apr 2006
Posts: 43
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Apr 2006
Posts: 43
Forgive me if i put this in the wrong section but i found it to be half "help" and "script" so...

I was making a !restart type command for the cs bot on the game renegade and well, see for your self.


on *:TEXT:!botrestart:#batcave: {
if ($nick == [BBF]Dave) {
msg #abbfserv1 The CrazyAOW Bot will now restart on $nick $+ 's command.
renrem msg The Bot will now restart, Please standby.
/run C:\David\OTHER\CS\mirc.exe
/exit
/quit
}
else {
notice $nick 0,4 You do not have access to this command. 0,4
}
}



Basicly what this does it close the current irc and reopens it.
It works so far only i get a "comfirm exit" window. How would i take this off...

#146222 01/04/06 07:48 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
mIRC Options - Other

Uncheck everything in the sections titled:
When closing status window, confirm if
When closing mIRC, confirm if

#146223 02/04/06 02:24 AM
Joined: Mar 2005
Posts: 74
K
Babel fish
Offline
Babel fish
K
Joined: Mar 2005
Posts: 74
Code:
on *:text:*!botrestart*:#: {
 if ($nick == [BBF]Dave) {
 if $1 == %c $+ shutdown {
    msg $chan The CrazyAOW Bot will now restart on $nick $+ 's command.
    amsg Bye!
    run C:\David\OTHER\CS\mirc.exe
    quit bye
    exit
  }
}
  

like this?


Link Copied to Clipboard