mIRC Home    About    Download    Register    News    Help

Print Thread
Help With Adding A Feature to A Script. #247573 12/08/14 05:46 AM
Joined: Aug 2014
Posts: 2
C
csi_d00d Offline OP
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?

Re: Help With Adding A Feature to A Script. [Re: csi_d00d] #247574 12/08/14 03:23 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
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
Re: Help With Adding A Feature to A Script. [Re: csi_d00d] #247575 12/08/14 06:34 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
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
Re: Help With Adding A Feature to A Script. [Re: Nillen] #247576 12/08/14 10:19 PM
Joined: Aug 2014
Posts: 2
C
csi_d00d Offline OP
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.