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.

anti flyby

Old posts that have not been replied to for several years.
Locked
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

anti flyby

Post by [R] »

hello,

I need a anti flyby script like this:

ftp://ftp.eggheads.org/pub/eggdrop/scri ... 102.tcl.gz

But this, dont work...
Only these messages:

[17:30] Tcl error [check_flybyin]: can't read "publics": no such variable

Can anybody write a script like this? Or know a script like this ?
My settings are:

Code: Select all

set flybyver "1.02.01"
set flybys "ON"
set flybyfile ".flybys"

# Set this to a number in minutes to ban the flyby. Set it to 0 to not ban.
set flybyban 15

# Set the following variable to 1 if you want channel commentary for flybys.
# Any other value if you don't. (On a large channel it can be annoying)
set chanfly 0

# Publics is for another script of mine that allows you to turn off
# channel stuff like this. Uncomment the next line if not running it.
#set publics 0

# Channel(s) to trigger flybys on. (Seperate list with spaces)
set flyby(chans) "#b.a.t.z"
Is there a misstake? Is there a error? When yes where?

Thx and greetz

[R]
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

#set publics 0 <~ Doh! You've commented it .. remove the # and should be working or stop the other thing that uses it. :mrgreen:
Once the game is over, the king and the pawn go back in the same box.
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

ok I'll try it. :)

Edit: So, I removed this...
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

it dosent work...

in my flyby file is this:

Code: Select all

#b.a.t.z 4 1086044973
#b.a.t.z 73
1086016046
1.02.01
Id like only that , flybyer get banned..
Many anti flybys are [censored]. Can anybody help me..!?
I need this script...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re:FlyBy v1.02 by David Proper

Post by Alchera »

Code: Select all

set flybyver "1.02.01"
set flybys ""
set flybyfile ".flybys"

# Publics is for another script of mine that allows you to turn off
# channel stuff like this. Uncomment the next line if not running it.
#set publics 1
For a start, leave those 3 sets as they are above. Secondly, just do as stated, uncomment "set publics 1" and leave the value as is. If it's set to 0 the script just doesn't work, it's basically turned off.

Code: Select all

if {$publics == 0} {return 0}
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

Okay, now it works...
But..........
When I joined my chan the bot sends a message like this:

"you are visitor #number"

Can I turn off this message??


Thx and Greetz

[R]

ps: great support, here!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

That's an count "visitors" script.. *G* just unload it.. pfff.
Once the game is over, the king and the pawn go back in the same box.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

FlyBy is a stupid script that will insult people when they part the channel soon after joining. It will keep track of how many flybys there has been as well as keep track of how many visitors have joined and give users their visitor number

Code: Select all

# Commands Added:
#  Where     F CMD          F CMD            F CMD           F CMD
#  -------   - ----------   - ------------   - -----------   - ----------
#  Public:   m flybys
#     MSG:   N/A
#     DCC:   m flybys
#
# Public Matching: N/A
#
Would help if people read what these author's wrote about their scripts and settings. :-?

**Edited**
To turn off counter response, find the following:

Code: Select all

 if {$publics == 0} {return 0}
 putserv "NOTICE $nick :You are visitor #$visitcount since [ctime $visitstart]."
Change to this:

Code: Select all

 if {$publics} {return 0}
 putserv "NOTICE $nick :You are visitor #$visitcount since [ctime $visitstart]."
Everything else will work just fine. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

Okay thank you very much :D
Great support!

ps: I have read this ;)

Edit: oh, I have got question... oO How can I remove this message:
Fly bys suck! You are fly by #[get_flybyc $channel] since [ctime [get_flybys $channel]].
This is my last question :)

Thx and Greetz

[R]
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Same again as for the counter section of the script. Change this line (which is directly above the line you pasted) from:

Code: Select all

if {$publics == 0} {return 0}
To:

Code: Select all

if {$publics} {return 0}
If you just want to change the notice sent to the nick doing the flyby, create your own message using the two variables or not.

#[get_flybyc $channel] = your channel
[ctime [get_flybys $channel]] = date since script was first started.

Hope this helps. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

I am surprised - good support...
Hope this helps.
Yes. Fine

Thank you , all!! :D

ps: ahhh great no flybys :D
Locked