mIRC Home    About    Download    Register    News    Help

Print Thread
How? (REad Back again) #20331 21/04/03 11:01 PM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
How do you script the /timer message? EX: Instead of typing "/timer 0 10 /msg #MIRC HI!" how can I make this command a script so everytime I login to a channel it does it for me. Thanks!

Re: How? #20332 21/04/03 11:11 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You want it so that every time you join #mirc you say "HI!"?
Code:
on *:JOIN:#mirc:if $nick == $me msg # HI!

Re: How? #20333 21/04/03 11:17 PM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
THANKS! But how do I add this code to make a script? And also the text is in color (red) Please help me out.

Last edited by gsandan; 21/04/03 11:23 PM.
Re: How? #20334 21/04/03 11:47 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Press "Alt + R" and past this line:

Code:
on *:JOIN:#mirc:if $nick == $me msg # 4HI!

Re: How? #20335 21/04/03 11:50 PM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
wat about if i wanna make it every 10 secs it shows the text?

Re: How? #20336 21/04/03 11:54 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
then you use timers ( /help timers )

Code:
on *:JOIN:#mirc:if $nick == $me timer 0 10 msg # 4HI!

Re: How? #20337 21/04/03 11:57 PM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
But i want to put it in the script. Every 10 sec the script repeats the message script.

Re: How? #20338 22/04/03 12:05 AM
Joined: Dec 2002
Posts: 483
Deep3D Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Hmm.. Yes, Alt + R and then copy/past the code..

Whitout the 10 seconds..
Code:
on *:JOIN:#mirc:if $nick == $me msg # 4HI!


Every 10 seconds..
Code:
on *:JOIN:#mirc:if $nick == $me timer [color:red]0[/color] 10 msg # 4HI!


<$me timer 0 10 msg> if you change the 0 to eg. 5 it will say Hi 5 times..

I dident understand the question so mutch.. but i tryed.. smile

Re: How? #20339 22/04/03 12:09 AM
Joined: Apr 2003
Posts: 22
G
gsandan Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Apr 2003
Posts: 22
Thanks ALOT!!!!!!! smile smile

Re: How? #20340 22/04/03 12:11 AM
Joined: Dec 2002
Posts: 483
Deep3D Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
No Problem, nice to help you.. smile

Re: How? #20341 22/04/03 12:55 PM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Repeating will get you ban/kicked for sure...