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 6 matches

by Reserve
Sun Mar 26, 2006 2:07 pm
Forum: Scripting Help
Topic: Message when certain ident/hostmasks join
Replies: 1
Views: 3958

Message when certain ident/hostmasks join

Im writing (trying to write) a script that will put a msg to a channel when certain users using a certain ident and/or hostmask joins. Ive searched the forums and found some usefull snippets of code and from that i've So far got bind join - * onjoin:msg proc onjoin:msg {nick host hand chan} { if {$h...
by Reserve
Wed Jan 18, 2006 5:15 am
Forum: Scripting Help
Topic: How to search a list of results from an sql query?
Replies: 1
Views: 4525

How to search a list of results from an sql query?

I’m trying to write a script that queries a database, sorts the results and then searches the results for a match. The select query will be something like mysqlsel $mysql "SELECT * FROM sql_table where last_event < $time" set mycount [mysqlresult $mysql rows?] mysqlmap $mysql {id name scor...
by Reserve
Mon Dec 26, 2005 4:25 pm
Forum: Scripting Help
Topic: Different bot responses on private and public channels
Replies: 4
Views: 7355

Thanks demond, a little bit of re-organising in my script, adding your suggestion and now it all works as i wanted :)

Re: "-nocase"

do i just add this inline like...

Code: Select all

if {[string compare -nocase $chan #somechannel] == 0} { 
or somewhere else?
by Reserve
Mon Dec 26, 2005 1:00 pm
Forum: Scripting Help
Topic: Different bot responses on private and public channels
Replies: 4
Views: 7355

Different bot responses on private and public channels

Ive searched and seen several questions about this kind of thing but with my limited tcl skills i just cant seem to get it working on my bot. My bot sits in a private channel for gameserver admins and several public channels including a public channel for gameserver players. I want to use the same t...
by Reserve
Tue Apr 19, 2005 4:09 am
Forum: Archive
Topic: cant get putquick notice to work
Replies: 3
Views: 1481

Thanks for the replies. I tried the suggestions made and found through examining the raw logs that either the putquick commands werent being issued to the server or not being logged. After several hours of investigation I deleted the bot dir, recompiled the bot and reinstalled the bot to a new direc...
by Reserve
Mon Apr 18, 2005 6:15 am
Forum: Archive
Topic: cant get putquick notice to work
Replies: 3
Views: 1481

cant get putquick notice to work

Hi all. Im having problems using the putquick command in a script i have. I use a 1.6.17 eggdrop running on FreeBSD that monitors a remote game server and looks for the name "admin-needed" and if found it announces to my IRC channel. The code i want to use (and that doesnt work) is putquic...