mIRC Home    About    Download    Register    News    Help

Print Thread
#136276 25/11/05 12:43 PM
Joined: Nov 2005
Posts: 5
P
PoOn Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Nov 2005
Posts: 5
Ok
i am the biggest noob with mirc. i dont know any scrips or anything. But i am sure that it is posible to make text automaticly come up when you connect to a server. ect hello and welcome to john smithes channel(in green txt). Is what i am asking postible?

Thanx

#136277 25/11/05 09:31 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I don't understand what you are asking for you mentioned when you connect to a server and then mentioned a channel?

Code:
On *:Connect: {
  echo 3 -a Welcome to $server $fullname
}


-Andy

#136278 25/11/05 09:51 PM
Joined: Nov 2005
Posts: 5
P
PoOn Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Nov 2005
Posts: 5
I'm Sorry i didnt make that clear. Ok what i am asking for is when some connects to my channel( #CLANDK) i want the channel to say hello blah blah blah in colour. Is that clear enough?

Thanx

#136279 25/11/05 09:58 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I believe channel messages/notices are only sent from IRCx. However you may send a message to the channel.

Code:
On !*:Join:#CLANDK: {
  msg $chan $+($chr(3),03,Welcome to $chan $nick enjoy your stay.,$chr(3))
}


-Andy

#136280 25/11/05 10:07 PM
Joined: Nov 2005
Posts: 5
P
PoOn Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Nov 2005
Posts: 5
Like i sed in my first post i am a noob, so where exacly do u put the code in and how does this code work
?
Thanx

#136281 25/11/05 10:14 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Sorry dude. smile

1. Open remote scripts (Alt + R)
2. If the page isn't empty click File > New
3. Paste in the above code.

What the code does is when someone joins your channel it sends a message saying:

Welcome to #CLANDK <Nickname> enjoy your stay.

-Andy

#136282 25/11/05 10:21 PM
Joined: Nov 2005
Posts: 5
P
PoOn Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Nov 2005
Posts: 5
Thanx a heap man.

#136283 25/11/05 10:32 PM
Joined: Nov 2005
Posts: 5
P
PoOn Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Nov 2005
Posts: 5
lol one more thing
umm it dosent work, i am not sure why.

#136284 25/11/05 10:37 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
1. When copying code from the forum sometimes it doesn't copy the code exactly how you see it make sure the code in remotes is on 3 lines.

2. Make sure remotes are turned on: /remote on

-Andy

#136285 25/11/05 11:18 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
When copying code from the forum, I usually just copy it from the webpage, paste it in wordpad, copy it from wordpad, and paste it in mirc.

Wordpad seems to recognize the newline characters from the site, and it converts them to a format that the mirc editor can recognize.

-genius_at_work

#136286 25/11/05 11:39 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I do that also. smile

-Andy

#136287 26/11/05 02:40 PM
Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Make sure you have put it in the tab Remote, not in one of the other tabs. Type alt-r twice to go to the correct tab. Also close it before testing so that the file is saved.

Note that it won't work when you join, only when someone else joins that channel.


Link Copied to Clipboard