mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Code:
alias acc_ {
  if ($1 = -a) {
    access $2 add $$?="What level? Owner,Host,Voice,Grant" $$?="What Address?" $$?="For how long?" $$?="Comment"
  }
}


For some reason this first asks you to enter the comment, then it asks for level and so on. If I put evaluation brackets around the first question "What Level?", it asks me that first but then asks me for the comment, then asks me for the rest.

What the deuce? I don't think I should have evaluation brackets to force it to evaluate left to right ...

Any ideas? This is acting kind of strange.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
While I don't know why it's doing that. I think I got around the problem by using $input rather than $$?=
I say "think" due to the fact that it's been a couple of years.

Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Yeah that works. So maybe that's a bug with $?=""?

Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard