mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2004
Posts: 14
N
Pikka bird
OP Offline
Pikka bird
N
Joined: Jan 2004
Posts: 14
Remote:

on 1:TEXT:%ask:#: if ( %as == 1 ) { /msg # 13Right! One Point! | %as = 0 | /inc [-s] <%qa> 1 | /msg # Now %qa Points for you! }

Variables:

/set [-s] <%qa> 0


Whats wrong?

Joined: Jan 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
on 1:TEXT:%ask:#:{
if (%as == 1) {
msg # 13Right! One Point!
%as = 0
inc %qa
msg # Now %qa Points for you!
}
}

Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
[-s] <== the [] mean the value is optional
<%qa> <== you need to fill in a variable name here

when copy pasting from the help file you need to remove those brackets for it to work

the help file says:

/inc [-cszuN] <%var> [value]


so the real command is:
/inc -cszu3 %somevar somevalue

see?


If it ain't broken, don't fix it!

Link Copied to Clipboard