mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2014
Posts: 2
C
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Aug 2014
Posts: 2
So heres a very simple script: on *:TEXT:!test:#: { msg $chan 1,2,3
The thing is when I type !test I will have a bot that will be saying 1,2,3, but what I want it to do is instead of typing it in 1 comment it types it into 3 seperate comments like this:
Bot: 1
Bot: 2
Bot: 3

Not like this:
Bot: 1,2,3

Is this possible?

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
It's possible in several ways. The easiest is to create more static messages, like this:
Code:
on *:text:!test:#: { 
msg # 1
msg # 2
msg # 3
}


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Code:
on *:text:!test:#: { 
msg # 1 $+ #chr(44) 2 $+ $chr(44) 3 
}


I refuse to engage in a battle of wits with an unarmed person. wink
Joined: Aug 2014
Posts: 2
C
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Aug 2014
Posts: 2
Thanks guys, got it to work sorry if the question maybe sounded dumb.


Link Copied to Clipboard