mIRC Home    About    Download    Register    News    Help

Print Thread
help on else part #135903 19/11/05 02:33 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
hi can anyone tell me to scrtip another message in the else part?
the red indaticated part is the part i wrote...but it doesn't work,i tested it
Code:
  #hack-system on
on 1:text:!deactivate*:#:{
  if ($nick iswm $read(useraccess.txt)) {
    /msg $chan 12SYSTEM DEACTIVATING...DONE
    .disable #hack-system
  }
    else {  .timer 1 1 msg $chan 4SCANNING ACCESS DATABASE REGISTERED DATAS.  }
  [color:red] {  .timer 1 3 msg $chan $nick $+ , 4ACCESS DEINED: ACCESS DATA MISSING.  }[/color]
}
on 1:text:!hack *:#:{
  if ($nick iswm $read(useraccess.txt)) {
    .timer 1 2 msg $chan 4TARGET: $2
    .timer 1 2 msg $chan 12Cracking $2 $+ 's Internet IP address...
    .timer 1 10 msg $chan 12Hacking System Configuration Codes...
    .timer 1 18 msg $chan 2 20%...Completed
    .timer 1 20 msg $chan 2 60%...Completed
    .timer 1 24 msg $chan 2 100%...Completed
    .timer 1 30 msg $chan 4Transfering Self-extract file...
    .timer 1 47 describe $chan has transfered infected files to $2 $+ 's computer
  }
  else { msg $chan $nick $+ , 4ACCESS DENIED: ACCESS DATA MISSING.  }
}
on 1:text:!command:#:{
  /notice $chan !hack (username)
  /notice $chan !deactive
  /notice $chan !active
  /notice !register
}
on 1:text:!register:#:{
  /notice $nick 4 PLEASE ASK THE OPERATER TO REGISTER YOUR ACCESS DATA.
  /notice $nick 12 ONCE THE CHOSEN NICKNAME IS REGISTERED ON THE LIST,
  /notice $nick 12 YOU MUST USE THE USE THE REGISTERED NICKNAME IS ACCESS THIS BOT
}
#hack-system end
on 1:text:!activate:#:{
  .timer 1 1 msg $chan 4PREPARING TO OPERATE...
  .timer 1 3 msg $chan 12..DONE
  .enable #hack-system
}


practice makes perfect... smile
Re: help on else part #135904 19/11/05 02:46 AM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Change

Code:
    else {  .timer 1 1 msg $chan 4SCANNING ACCESS DATABASE REGISTERED DATAS.  }
   {  .timer 1 3 msg $chan $nick $+ , 4ACCESS DEINED: ACCESS DATA MISSING.  }


To
Code:
    else {
      .timer 1 1 msg $chan 4SCANNING ACCESS DATABASE REGISTERED DATAS.
      .timer 1 3 msg $chan $nick $+ , 4ACCESS DEINED: ACCESS DATA MISSING.
    }

Re: help on else part #135905 19/11/05 02:50 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
THANKS!!! smile smile smile smile laugh laugh laugh shocked shocked shocked wink wink


practice makes perfect... smile