mIRC Home    About    Download    Register    News    Help

Print Thread
#22276 04/05/03 04:00 PM
Joined: May 2003
Posts: 13
T
Pikka bird
OP Offline
Pikka bird
T
Joined: May 2003
Posts: 13
I want my irc script to say "Welcome to my room", whenever someone joins my msn chatroom, but I don't want it to say it soon as that person enters the room, I want it to wait about 20 seconds then do it.
What code should I use to make my script do this?

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
ON !*:JOIN:#:.timer 1 20 notice $nick Welcome to #Channelname.

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
on *:JOIN:#channel: { .timer 1 20 notice $nick Welcome to $chan $nick $+ .  }

thass better , cheers Collective smile

Last edited by SladeKraven; 04/05/03 04:56 PM.
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Watchdog's script is fine, not to mention the fact that yours has pointless IF statements...
if ($nick == $me) { halt[color:brown])[/color] the ! prefix on Watchdog's script performs the same function and you had a typo on the halt command.
elseif ($nick == $nick) is completely pointless, $nick will always be equal to $nick.

the $chan was an improvement though..

Joined: Mar 2003
Posts: 437
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
lol

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Still wrong, you missed the ! at the start :tongue:

Joined: Jan 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
He didnt miss the ! in the start, maybe he likes to notice himself aswell :tongue: :lol:


Link Copied to Clipboard