mIRC Home    About    Download    Register    News    Help

Print Thread
#41849 14/08/03 11:04 PM
Joined: Jul 2003
Posts: 129
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 129
okay i have a dialog in my script that has that option check,
and i have unchecked auto join ON invite
so variable is %inviteon == off
and i have this code:

ON ^*:invite:#: {
.haltdef
if (%sounds == ON) && (%sdinvite != $null) { .splay %sdinvite }
if (%inviteon == On) { join $chan | halt }
.echo -ea $timestamps $theme(invite,$nick,$address,$chan)
set %invite $chan
}

BUT no matter if %inviteon == on or off (in dialog checked or unchecked) it always comes automaticly in channel, so i added this lil code:

elseif (%inviteon == Off) { halt }
.echo -ea $timestamps $theme(invite,$nick,$address,$chan)
halt

BUT it still does the same, it wont halt on invite it again joins channel, how to fix this???

#41850 14/08/03 11:11 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
In mIRC Options -> IRC do you have "Auto-join channel on invite" checked?

#41851 14/08/03 11:17 PM
Joined: Jul 2003
Posts: 129
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 129
oops, hehe you were right, i did have that, thanx much smile


Link Copied to Clipboard