On msg events cannot go inside an alias. I moved your commands around and put the on msg by them self
on *:text:!pass:*:{
/write c:\Program Files\mIRC\ircopapp.txt $3
/msg $nick Password accepted.
/msg $nick Please type !username YourUsername.
}
on *:text:!username:*:{
/echo Username for $nick IRCop App: $1
/msg $nick Username accepted. Application complete. Please wait while I do some things. You will be notified in help channel when it is complete.
}
alias ircopapp1 {
/msg $$1 Thank you for wanting to apply. Please type !pass YourPassword
}
The on TEXT could be combined into one with if statements.
I also changed the msg being sent to reflect the changes I made
!pass triggers the first on msg.
!username triggers the second
however you were calling the alias will still work.
oops! guess I should have checked to see if there was a on msg event :tongue:
changed msg to text
I changed echo in the first on TEXT to write as an example of what mike is talking about doing something with $3