mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2015
Posts: 2
J
jort93 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Mar 2015
Posts: 2
on *:TEXT:swag*:#: if (% $+ $1 !== 1) { set -u20 % $+ $1 1 | msg $chan worked ! }

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

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


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Precisely what westor provided, you need to use the [ ] brackets to evaluate and combine the values properly.

This section handles that
/help [ ] evaluation brackets


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Mar 2015
Posts: 2
J
jort93 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Mar 2015
Posts: 2
thank u that helped me a lot ^^


Link Copied to Clipboard