mIRC Home    About    Download    Register    News    Help

Print Thread
#92073 29/07/04 05:34 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Wouldnt you use haltdef to say make your on join/part script where you can make the joins and part look how u want for instance:

on *:JOIN:#: { haltdef | echo -a >> $nick has joined $chan }

but that didn't work..

#92074 29/07/04 07:50 AM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
on ^*:JOIN:#: { echo -a >> $nick has joined $chan | haltdef }


Code:
//if ( khaled isgod ) echo yes | else echo no
#92075 29/07/04 08:08 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
had it backwards :P, thanks

#92076 29/07/04 08:27 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
/haltdef being the first command was not the problem. /haltdef can be placed anywhere in the script, unlike /halt. The problem was that you were missing the ^ prefix.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#92077 29/07/04 10:35 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Oh, ok so what is the ^ prefix for, i'm missing somthing..but I do hae it wokring now, thanks again.

#92078 29/07/04 11:31 AM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
The ^ prefix is for halting the default message.

/help halting default text

#92079 29/07/04 11:46 AM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Thanks Seifer

#92080 29/07/04 12:07 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Actually the ^ prefix is for making the event trigger before the default action. /halt is what halts the default action. So, ^ is needed because it makes no sense to /halt something after it has happened.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#92081 29/07/04 12:28 PM
Joined: Mar 2004
Posts: 359
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Battle of the scripters!
wink

#92082 29/07/04 05:17 PM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
If you wanna get technical... lol


Link Copied to Clipboard