I have a mIRC script and want to load it with Eggdrop.
It need to auto-join on invite. And I want it also enables the bMotion then.
This is the mIRC script:
Code: Select all
on *:INVITE:#: {
if (!$hget(spamcheck,$chan)) {
hadd -mz spamcheck $chan 60
hadd -mu5 invite $chan $nick
join $chan
}
else {
.notice $nick 4,1I was just invited to $chan $+ .Please wait $duration($hget(spamcheck,$chan)) before inviting me again.
}
}
on *:JOIN:#: {
if ($nick == $me) && ($hget(invite,$chan)) {
$+(.timer_checkop_,$chan) 1 1 check_op $hget(invite,$chan) $chan
}
}
alias check_op {
if ($1 isop $2) || ($1 ishop $2) {
msg $2 4,1Hi there im $me $+ . I was invited by $1 $+ .Try +commands for a list of my commands and +opcom for the list of commands who only can be used by a Op.
}
else {
part $2 I was invited by a non-op. Please try again with a opped Nick.
}
}
Greets DaKevinn