First time scripter... need help with this.
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting
 
Ryuko  -  Sun Nov 13, 2011 9:10 pm Reply with quote
I am trying to fashion some form of script that would allow me to command my bot (in channels1 and channel2) to message channel2 from either channel1 or private message. Can it be done?
SunnyD  -  Sun Nov 13, 2011 9:25 pm Reply with quote

Code

 


To use it type: !msg #channel Blah blah blah

Keep in mind this is a very primitive and simple example of the code you're looking for. I opted for this approach so you can easily conform it to your needs and/or dissect it to better understand how to build the code yourself.

All the best. -SunnyD


Last edited by SunnyD on Sun Nov 13, 2011 9:31 pm; edited 1 time in total
Jethro  -  Sun Nov 13, 2011 9:30 pm Reply with quote
SunnyD, that won't work 'cause you have to have the asterisk symbol placed next to the !msg trigger to signify $2 and $3 and so on...or it'll only work for the !msg command as is.

Quote

on *:text:!msg *:#channel1:{
SunnyD  -  Sun Nov 13, 2011 9:32 pm Reply with quote
Amended, thanks Jethro_.
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.