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???