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.
Old posts that have not been replied to for several years.
stevegarbz
Op
Posts: 104 Joined: Sat Dec 04, 2004 7:25 pm
Post
by stevegarbz » Thu Jul 14, 2005 12:39 pm
edited.
Last edited by
stevegarbz on Tue Aug 23, 2005 1:01 am, edited 1 time in total.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Jul 14, 2005 12:51 pm
then check if the channel is #PE, in each of your pub:procs
Code: Select all
if {[string toupper $chan] == "#PE"} {
...
and you really shouldn't be using [putquick], use [puthelp] instead; that will decrease the chance your bot to be disconnected because of exceeding SendQ
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Thu Jul 14, 2005 1:12 pm
that all depends on what network you're on.
If he's smart he would some flood protection anyway
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Jul 14, 2005 1:13 pm
Instead of if {(([lsearch -exact [string tolower $onjoin_chans] [string tolower $chan]] != -1) I'd go for a 'string match -nocase'. Either consult
the manual or
Search the forum.
Once the game is over, the king and the pawn go back in the same box.
stevegarbz
Op
Posts: 104 Joined: Sat Dec 04, 2004 7:25 pm
Post
by stevegarbz » Thu Jul 14, 2005 11:29 pm
Could you possibly add that line of code to one of the commands up there? And I want putquick because puthelp/putserv is way to slow.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Jul 14, 2005 11:44 pm
what's stopping you from adding it yourself?? you stated that you spent an hour scripting, so you must be able to help yourself with that
and there isn't an issue with speed here (it doesn't matter whether your targeted ads reach theit destination 3 or 5 or 7 seconds after being sent), there is a potential issue with exceeding server output quota
stevegarbz
Op
Posts: 104 Joined: Sat Dec 04, 2004 7:25 pm
Post
by stevegarbz » Fri Jul 15, 2005 12:14 am
yeah, I am a TCL noob
I am just learning, and help right now is the only way to learn more and more.
I just don't want to do it wrong and have my bot quit on me
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Jul 15, 2005 12:24 am
come on, you managed to come up with a much more complicated if construct; all you've got do is to add that simple check in the beginning of each pub trigger proc
stevegarbz
Op
Posts: 104 Joined: Sat Dec 04, 2004 7:25 pm
Post
by stevegarbz » Fri Jul 15, 2005 12:41 am
edited
Last edited by
stevegarbz on Tue Aug 23, 2005 1:01 am, edited 1 time in total.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Jul 15, 2005 12:46 am
*sigh*
nope, that
if needs to be inside proc's body:
Code: Select all
proc pub:gameservers {nick uhost hand chan text} {
if {[string toupper $chan] == "#PE"} {
puthelp "notice $nick :<your stuff here>"
}
}
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Jul 15, 2005 9:45 am
this is egghelp, not eggbuy afaik
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sat Jul 16, 2005 6:45 am
I can do them for free, if they are not very bulky and related to my criteria.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================