|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
I was wondering if there was a script that set up that would automatically greet a nick when he/she enters a channel that I am part of? If there is could anyone tell me where I can find it and how to install it. I am very new to scripting
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
on !*:JOIN:[color:green]#channel[/color]:{
msg # Welcome to # $nick
}
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
What do I change to make a custom welcome message? The "Welcome To"?
Also when I put this scripts into the remote area of mIRC do I put it exactly as I see it with all the breaks and spaces? I copied one before and it put it automatically as one long line of text.
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
What do I change to make a custom welcome message? The "Welcome To"? Yes. Also when I put this scripts into the remote area of mIRC do I put it exactly as I see it with all the breaks and spaces? I copied one before and it put it automatically as one long line of text. The spacing will be done automatically by mIRC if you put the line breaks in the right place.
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
is there a way of editing that so it does a /me command rather then saying it?
ie)
*Gararion watches as someone makes their way into the channel. Welcome to the Elusive channel #Santharia Charles
and is there a way of putting putting a " after Charles and changing the color of the nick and channe?
Last edited by Gar; 12/09/03 01:02 AM.
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
Change "msg #" to "describe #".
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
reposted as I edited at the same time you posted.
Can I change the color of the channel and the nick?
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
on !*:JOIN:[color:green]#channel[/color]:{
describe # Gararion watches as someone makes their way into the channel. Welcome to the Elusive channel 4 $+ # $nick $+ $+ "
}
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
nvm got it: on !*:JOIN:#Santharia:{
describe # watches as someone makes their way into the channel. 4"Welcome to the elusive channel # $nick $+ $+ ".
}
Thanks everyone that helped
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
Just noticed I put an extra $+ in, doesn't really matter but you might wanna get rid of it.
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
I already removed it. Thought it was a typo. Thanks once again
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
One more question. how can I but a comma in it to prduce the following. *gararion watches as someone makes their way into the channel. "Welcome to the friendly channel #Santharia , Charles." I know how to put the " and the . in but how do I but the , in after the channel name? This is what I have atm:
on !*:JOIN:#Santharia:{
describe # watches as someone makes their way into the channel. 4"Welcome to the friendly channel # $nick $+ ."
}
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
on !*:JOIN:#Santharia:{
describe # watches as someone makes their way into the channel. 4"Welcome to the friendly channel # $+ , $nick $+ ."
} Edit: Forgot to sort out line breaks.
Last edited by Collective; 12/09/03 02:35 AM.
|
|
|
|
Joined: Sep 2003
Posts: 120
Vogon poet
|
OP
Vogon poet
Joined: Sep 2003
Posts: 120 |
Thanks. Is there a way of editing this same script to make it post a message when someone leave or exits the channel? Whould I replace JOIN with LEAVE or EXIT?
|
|
|
|
Joined: Feb 2003
Posts: 3,412
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,412 |
change the :JOIN: to :PART:
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
There are two events that you'd need to add. The first would be on PART, which has the same syntax as on JOIN. The second is on QUIT, for which the syntax is slightly different.
on *:QUIT:{
if ( $nick ison #Santharia ) {
describe #Santharia watches as someone leaves the channel. 4"I'll miss you $nick $+ ."
}
} One thing to note about on QUIT is that you can't use # or $chan to reference the channel name, as people don't quit channels, they quit the IRC server.
|
|
|
|
pheonix
|
pheonix
|
on *:QUIT:{ describe $comchan($nick,1) watches as someone leaves the channel. 4"I'll miss you $nick $+ ." } on *:PART:#:{ describe $chan watches as someone leaves the channel. 4"I'll miss you $nick $+ ." }
|
|
|
|
Joined: May 2003
Posts: 161
Vogon poet
|
Vogon poet
Joined: May 2003
Posts: 161 |
Autogreets are kinda dumb if you ask me. Why would anyone want to have a script say hello to them? Also, if someone join/parts the channel repeatedly, you could end up flooding yourself off.
|
|
|
|
Joined: Dec 2002
Posts: 3,015
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,015 |
That will message him on the first common channel, which won't always be #Santharia.
|
|
|
|
pheonix
|
pheonix
|
he never asked for santharia specific
|
|
|
|
|
|