This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

'error trying to set greet for #chan, Invalid option'

Old posts that have not been replied to for several years.
Locked
H
Hatred
Voice
Posts: 5
Joined: Fri Dec 03, 2004 3:37 pm

'error trying to set greet for #chan, Invalid option'

Post by Hatred »

I feel like a no0b asking such a ridiculous question, however i am new to use of eggdrops so i guess i may as well swallow my pride.

I've been trying to setup a changreet, or any greet in general.
However no matter what documentation I read, or various attempts I make, I
continue to be confronted with the following error.

'error trying to set greet for #chan, Invalid option'

does anyone have any suggestions as to how I can set a greeting of any kind?

Kind Regards,
-No0b
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You've tried .chanset #chan +greet ?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Hatred
Voice
Posts: 5
Joined: Fri Dec 03, 2004 3:37 pm

Post by Hatred »

Yea, one of the first things I did.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Read this post; there's a scripting solution to setting a greet via DCC. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Hatred
Voice
Posts: 5
Joined: Fri Dec 03, 2004 3:37 pm

Post by Hatred »

I've tried the commands listed,
and the results were as follows.


.onjoin flags
What? You need '.help'
.onjoin messages
What? You need '.help'
.onjoin add * +n testing
What? You need '.help'

:cry:
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Hatred wrote:I've tried the commands listed,
and the results were as follows.


.onjoin flags
What? You need '.help'
.onjoin messages
What? You need '.help'
.onjoin add * +n testing
What? You need '.help'

:cry:
Where you found that? Use .help on party-line to see available commands.
Que?
H
Hatred
Voice
Posts: 5
Joined: Fri Dec 03, 2004 3:37 pm

Post by Hatred »

i found 'that' in the thread that Alchera posted.
and .help was, of course, one of the first things i tried,
I wouldn't start posting on a forum without trying .help first.
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Those command (.onjoin) is available only if you add a special tcl script. You can find that script here
Que?
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Go try this then.

Code: Select all

# The configuration 
set flags(owner) "A Bot Owner Has Entered The Channel!" 
set flags(master) "A Bot Master Has Entered The Channel!" 
set flags(op) "A Bot Op Has Entered The Channel!" 
set flags(halfop) "A Bot Halfop Has Entered The Channel!" 
set flags(cowner) "A Channel Owner Has Entered The Channel!" 
set flags(cmaster) "A Channel Master Has Entered The Channel!" 
set flags(cop) "A Channel Op Has Entered The Channel!" 
set flags(chalfop) "A Channel Halfop Has Entered The Channel!" 

bind JOIN - * flags:join 

proc flags:join { nickname hostname handle channel } { 
global flags 
if {[matchattr $handle n]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(owner)" 
} elseif {[matchattr $handle m]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(master)" 
} elseif {[matchattr $handle o]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(op)" 
} elseif {[matchattr $handle l]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(halfop)" 
} elseif {[matchattr $handle |n $channel]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(cowner)" 
} elseif {[matchattr $handle |m $channel]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(cmaster)" 
} elseif {[matchattr $handle |o $channel]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(cop)" 
} elseif {[matchattr $handle |l $channel]} { putquick "PRIVMSG $channel :\[ $nickname \] $flags(chalfop)" 
} 
} 
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Hatred wrote:i found 'that' in the thread that Alchera posted.
I thought you would have read down further in that thread I posted; maybe I should have been more specific - It was Metroid's script solution I'd hoped you'd have found. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
Hatred
Voice
Posts: 5
Joined: Fri Dec 03, 2004 3:37 pm

Post by Hatred »

thankyou for your help.
though is there a way that i can set the greet to greet people in chan depending on their current handle/hostmask?

how do i make it recognise my host on IRC ?
/msg <botname> IDENT <password> was suggested to me though i have currently had no luck.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

go look in the tcl archive, i'm sure it has some kind of greet script.
Locked