mIRC Homepage

help on else part

Posted By: CyborAccess

help on else part - 19/11/05 02:33 AM

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
}
Posted By: schaefer31

Re: help on else part - 19/11/05 02:46 AM

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.
    }
Posted By: CyborAccess

Re: help on else part - 19/11/05 02:50 AM

THANKS!!! smile smile smile smile laugh laugh laugh shocked shocked shocked wink wink
© 2020 mIRC Discussion Forums