mIRC Homepage
Posted By: Brianlan Auto Message - 01/08/05 11:52 PM
Hi there,

Well, I'm still new to this mIRC stuff, I need a help here.

What am I supposed (Script to add?) to do in order to add an auto message whenever I login to my channel.

E.G:
When I login.

Channel sets mode: +oa mynick
<Channel> [mynick] My auto message here

Any clue?

Any help are much appreciated

Regards,
Brian
Posted By: Karas Re: Auto Message - 02/08/05 12:00 AM
on *:JOIN:#CHANNEL: {
if ($nick == $me) {
msg $chan MY MESSAGE TEXT
}
}
Posted By: Brianlan Re: Auto Message - 02/08/05 12:17 AM
Hi thanks for your response,

Well, is it possible to add my bot name infront then follow by my nick?

e.g: in the same format:-

<my bot> [my nick] MY MESSAGE

Thanks in advance.
Posted By: IR_n00b Re: Auto Message - 02/08/05 03:33 AM
yes, as long as your bot is in the channel, i.e (in the bot's mIRC):
on *:join:#channel: {
if ($nick == your nick) msg # [your nick] your message
}
Posted By: Brianlan Re: Auto Message - 02/08/05 07:28 PM
Quote:
yes, as long as your bot is in the channel, i.e (in the bot's mIRC):
on *:join:#channel: {
if ($nick == your nick) msg # [your nick] your message
}


hmm.. So what must I do to add my bot name infront instead of my own nick?

Once again, many thanks in advance. smile
Posted By: Riamus2 Re: Auto Message - 02/08/05 07:42 PM
Only way is to have your BOT run this script (same as above:

Code:
on *:join:#channel: {
  if ($nick == your nick) msg # [your nick] your message
} 


Since your BOT will say the line, it will appear like this in the channel:

<bontnick> [yournick] Your message.

Or, with time stamps turned on:

[12:15pm] <bontnick> [yournick] Your message.
Posted By: Brianlan Re: Auto Message - 02/08/05 07:48 PM
Quote:
Only way is to have your BOT run this script (same as above:

Code:
on *:join:#channel: {
  if ($nick == your nick) msg # [your nick] your message
} 


Since your BOT will say the line, it will appear like this in the channel:

<bontnick> [yournick] Your message.

Or, with time stamps turned on:

[12:15pm] <bontnick> [yournick] Your message.


Hi there,

Thanks for your quick response, well the bot was actually added by one of my friend and that server is belong to him.

Anyway, is there a way that I could add a new bot to my channel by my own. ?

Thanks. smile
Posted By: Riamus2 Re: Auto Message - 02/08/05 08:06 PM
Yes, though perhaps you would want to first think about WHY you want it to have the bot's name in front of yours when you join the channel. Is there a reason?

Note that if you add a bot, it will be *that* bot's name in front of yours instead of the other bot's name.

Are you sure you need it? If so, I'll give more information, but I'd rather not type it up if you really don't need it. smile
Posted By: Brianlan Re: Auto Message - 02/08/05 08:15 PM
Quote:
Yes, though perhaps you would want to first think about WHY you want it to have the bot's name in front of yours when you join the channel. Is there a reason?

Ofcourse ther's a reason behind it. :P
Quote:

Note that if you add a bot, it will be *that* bot's name in front of yours instead of the other bot's name.
Are you sure you need it? If so, I'll give more information, but I'd rather not type it up if you really don't need it. smile


And YES! I need it. smile

Looking forward to hear from you soon.

Regards,
Brian
Posted By: Riamus2 Re: Auto Message - 02/08/05 08:25 PM
Ok, step 1. Find a bot script you like. Determine what you need from the bot. If you don't need anything other than this script, you can just install another copy of mIRC somewhere and run that with the script on it and you'll be set. If you need something else from it (channel protection, trivia, etc), then you need to find one you like from a scripting site like mircscripts.org.

Step 2, install the bot and load it up. Change the bot's nicks to whatever you want them to be (obviously not the same nicks as yours).

Step 3, add that script into the bot in a new file (Alt-R > File > New).

Step 4, connect the bot to the channel.

Step 5, connect you to the channel and it should work.

Step 6, if you want the bot to be auto-op'd , set it up with /chanserv (if available), or with yours and the other ops' auto-op settings.

Since you aren't saying why you want this script, I'll just point this out in case it matters... Anyone who sees the bot's nick in front of yours will know the bot said it. Not really sure why you want it there, so that may not matter... just mentioning it.
Posted By: Brianlan Re: Auto Message - 02/08/05 08:34 PM
Quote:
Ok, step 1. Find a bot script you like. Determine what you need from the bot. If you don't need anything other than this script, you can just install another copy of mIRC somewhere and run that with the script on it and you'll be set. If you need something else from it (channel protection, trivia, etc), then you need to find one you like from a scripting site like mircscripts.org.

Step 2, install the bot and load it up. Change the bot's nicks to whatever you want them to be (obviously not the same nicks as yours).

Step 3, add that script into the bot in a new file (Alt-R > File > New).

Step 4, connect the bot to the channel.

Step 5, connect you to the channel and it should work.

Step 6, if you want the bot to be auto-op'd , set it up with /chanserv (if available), or with yours and the other ops' auto-op settings.

Since you aren't saying why you want this script, I'll just point this out in case it matters... Anyone who sees the bot's nick in front of yours will know the bot said it. Not really sure why you want it there, so that may not matter... just mentioning it.


Hi, I'm sorry as I'm still new to all this mIRC stuff and am have no ideal where am I supposed to start off.

I wonder if you could help me though?

I will provide u my IRC server details.

Once again, sorry to trouble you.
Posted By: Brianlan Re: Auto Message - 02/08/05 09:27 PM
Quote:
[quote]Only way is to have your BOT run this script (same as above:

Code:
on *:join:#channel: {
  if ($nick == your nick) msg # [your nick] your message
} 


Since your BOT will say the line, it will appear like this in the channel:

<bontnick> [yournick] Your message.

Or, with time stamps turned on:

[12:15pm] <bontnick> [yournick] Your message.


Hi there,

I'm sorry to ask as I'm still very new to all this IRC stuffy.

I've no ideal how am I supposed to run that script from?
Any help are much appreciated


Thanks. smile
Posted By: Brianlan Re: Auto Message - 02/08/05 09:49 PM
Quote:
Quote:
[quote]Only way is to have your BOT run this script (same as above:

Code:
on *:join:#channel: {
  if ($nick == your nick) msg # [your nick] your message
} 


Since your BOT will say the line, it will appear like this in the channel:

<bontnick> [yournick] Your message.

Or, with time stamps turned on:

[12:15pm] <bontnick> [yournick] Your message.


Hi there,

I'm sorry to ask as I'm still very new to all this IRC stuffy.

I've no ideal how am I supposed to run that script from?
Any help are much appreciated


Thanks. smile


*Bump*
Posted By: xDaeMoN Re: Auto Message - 02/08/05 10:08 PM
Please be patient. You don't have to keep bumping it.
Posted By: Brianlan Re: Auto Message - 02/08/05 10:43 PM
Bumping? you sure I'm bumping?

Please read the message that I quoted.

Thank you.

P.S: No offence though
Posted By: xDaeMoN Re: Auto Message - 02/08/05 10:54 PM
Well, yeah you did. You quoted the same one after 20 mins & also wrote "*bump*".
Posted By: Brianlan Re: Auto Message - 02/08/05 10:58 PM
Hey you sure I quoted the same message? PLEASE READ THE MESSAGE CAREFULLY before replying to my post.

--Off topic anyway--
© mIRC Discussion Forums