mIRC Home    About    Download    Register    News    Help

Print Thread
#165150 22/11/06 04:53 PM
Joined: Nov 2006
Posts: 1
O
Mostly harmless
OP Offline
Mostly harmless
O
Joined: Nov 2006
Posts: 1
Ok, I got an easy question, well for you people anyways. I'm new to IRC scripting and I just need a few command scripts I can look at to know how to go from there.

For example, when somone enters a channel, how can my bot/script send them a message?

Also how can I have my bot act or message on a !help or !command? Thanks for your time.

#165151 22/11/06 05:34 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
See the help file

/help On Join
/help On Text
/help /describe
/help /msg


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#165152 23/11/06 03:35 AM
Joined: Jan 2005
Posts: 15
P
Pikka bird
Offline
Pikka bird
P
Joined: Jan 2005
Posts: 15
Quote:
Ok, I got an easy question, well for you people anyways. I'm new to IRC scripting and I just need a few command scripts I can look at to know how to go from there.

For example, when somone enters a channel, how can my bot/script send them a message?

Also how can I have my bot act or message on a !help or !command? Thanks for your time.


what kind of bot is it normal mirc bot or socket bot if its a mirc bot

on ^*:text:#:*!help*: { <-- might have the # and !help part backwards
//msg $chan some text here
}

#165153 23/11/06 04:00 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
on *:text:*!help*:#channel-name://msg $chan some text here

As for when they join:

Code:
on *:join:#channel-name: {
  if ($nick == nickname-here) { msg # hello $nick }
}


Replace #CHANNEL-NAME with your channel's name and replace NICKNAME-HERE with the person's nickname


Those who fail history are doomed to repeat it

Link Copied to Clipboard