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.

Search found 704 matches

by greenbear
Tue Mar 15, 2005 3:17 pm
Forum: Archive
Topic: Taking an input from a shell command
Replies: 19
Views: 8752

It's a global var, so you either have to define it inside your proc, using 'global', or use $::botnick instead of $botnick.
by greenbear
Tue Mar 15, 2005 2:42 pm
Forum: Archive
Topic: Xmas|$nick
Replies: 18
Views: 5977

Escape the brackets by adding a \ in front of them.
by greenbear
Tue Mar 15, 2005 1:36 pm
Forum: Archive
Topic: Taking an input from a shell command
Replies: 19
Views: 8752

I don't see anything wrong, so here's a few guesses :) Maybe it's having trouble seing the bot (wrong botname). One way to find out is to use putallbots instead of putbot. Replace putbot Turbo-BW "bwmsg ..." With putallbots "bwmsg ..." That'll make any bot in the botnet with the ...
by greenbear
Tue Mar 15, 2005 1:20 pm
Forum: Archive
Topic: topic relay
Replies: 6
Views: 2622

On the bot reading/sending the topic

Code: Select all

putbot botname "keyword <topic or whatever goes here>"
where botname is the name of the bot you want to send the topic to.

On the bot receiving the msg

Code: Select all

bind bot b keyeord proc:name
proc proc:name {frombot cmd arg} {
 # ...
}
by greenbear
Tue Mar 15, 2005 11:55 am
Forum: Archive
Topic: topic relay
Replies: 6
Views: 2622

This should help you on the way then:

To read a topic

Code: Select all

topic #channel
Set a topic

Code: Select all

putserv "TOPIC #channel :<topic>"
There's also a topic bind that get triggered everytime a topic changes

Code: Select all

bind topc -|- * topic
proc topic {nick host hand chan topic} {
 # ...
}
by greenbear
Tue Mar 15, 2005 11:28 am
Forum: Archive
Topic: Help trapping notices from chanserv
Replies: 15
Views: 5592

No need to discredit regexp just because you don't understand it :lol:
by greenbear
Tue Mar 15, 2005 11:23 am
Forum: Archive
Topic: Keep getting segment violation
Replies: 6
Views: 3180

To me it looks like it's crashing when trying to interpet one of the tcl scripts.
Try removing all of them, and then readd them one by one, to find the one causing the problems.
by greenbear
Mon Mar 14, 2005 1:13 pm
Forum: Archive
Topic: Slow output
Replies: 10
Views: 6332

I was just being sarcastic as a reply to his "I dont lack the knowledge" statement. :wink:
by greenbear
Mon Mar 14, 2005 12:39 pm
Forum: Archive
Topic: Unreal+bot issue
Replies: 3
Views: 2391

you probably need +userbans too
by greenbear
Mon Mar 14, 2005 12:24 pm
Forum: Archive
Topic: Slow output
Replies: 10
Views: 6332

eggdrop have different queues, with different speeds. So here's an example of how you can use those queues in your scripts puthelp "PRIVMSG #channel :Slow, use this to send large amounts of text" putserv "PRIVMSG #channel :Normal queue." putquick "PRIVMSG #channel :Fast, but...
by greenbear
Mon Mar 14, 2005 12:25 am
Forum: Archive
Topic: Undernet network.. "mode #chan +e" on join!?
Replies: 15
Views: 10337

same thing here, i never defined mine and its 1 by default
by greenbear
Sun Mar 13, 2005 10:25 pm
Forum: Archive
Topic: if command not working
Replies: 8
Views: 3579

and there's no point in encouraging people to use mirc codes, using the proper codes for color/bold/whatever is always better.
by greenbear
Sun Mar 13, 2005 7:14 pm
Forum: Archive
Topic: needs public activation
Replies: 1
Views: 1228

Change

Code: Select all

bind pub o !rulez pub:t 
to

Code: Select all

bind pub - !rulez pub:t 
by greenbear
Sun Mar 13, 2005 4:05 pm
Forum: Archive
Topic: Big problem with timer
Replies: 5
Views: 2927

eggdrop timers only run once, so yea you have to restart it after every run.
by greenbear
Sun Mar 13, 2005 3:40 pm
Forum: Archive
Topic: wonder if anyone be so kind as to help
Replies: 2
Views: 1957

set filename "help.txt" bind pub - !help help proc help {nick uhost hand chan text} { if ![file exists $::filename] { putserv "NOTICE $nick :Error: Can't find $::filename." } { set id [open $::filename] while {![eof $id]} { puthelp "PRIVMSG $nick :[gets $id]" } close $...