mIRC Home    About    Download    Register    News    Help

Print Thread
J
jort93
jort93
J
on *:TEXT:swag*:#: if (% $+ $1 !== 1) { set -u20 % $+ $1 1 | msg $chan worked ! }

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Try use this:

Code:
on *:TEXT:swag*:#: {
  if (% [ $+ [ $1 ] ] !== 1) { set -u20 % [ $+ [ $1 ] ] 1 | msg $chan worked ! }
}

Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
Precisely what westor provided, you need to use the [ ] brackets to evaluate and combine the values properly.

This section handles that
/help [ ] evaluation brackets

J
jort93
jort93
J
thank u that helped me a lot ^^


Link Copied to Clipboard