mIRC Homepage
Posted By: csi_d00d Help With Adding A Feature to A Script. - 12/08/14 05:46 AM
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?
Posted By: Nillen Re: Help With Adding A Feature to A Script. - 12/08/14 03:23 PM
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
}
Code:
on *:text:!test:#: { 
msg # 1 $+ #chr(44) 2 $+ $chr(44) 3 
}
Posted By: csi_d00d Re: Help With Adding A Feature to A Script. - 12/08/14 10:19 PM
Thanks guys, got it to work sorry if the question maybe sounded dumb.
© mIRC Discussion Forums