| View previous topic :: View next topic |
| Author |
Message |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Thu Nov 03, 2005 4:46 am Post subject: |
|
|
Hi,
if i set
| Code: | | variable command_char "?" |
i get this error
| Code: | | Tcl error [incith::google::public_message]: couldn't compile regular expression pattern: quantifier operand invalid |
greets Koepi |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
|
| Back to top |
|
 |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Thu Nov 03, 2005 9:16 am Post subject: |
|
|
Sorry, it didn't work  |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Sat Nov 05, 2005 4:33 am Post subject: |
|
|
It seems that using a trigger character which is either a special function to a regex or just plain a special char causes some issues with the script due to the way its being matched.
With that in mind, I'm going to change the way its matched and hopefully solve (once and for all) the issues caused by people using some .. unique .. characters as their command_char.
-madwoota |
|
| Back to top |
|
 |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Sun Nov 06, 2005 3:02 pm Post subject: |
|
|
Hi,
if i understand this option right
| Code: | # set to 1 to enable a /notice reply instead, 0 for normal text (default)
variable notice_reply 0 |
then this should give the output as notice or? When i set this option to 1 it give a public replay too, and not a notice reply  |
|
| Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Mon Nov 07, 2005 5:36 am Post subject: |
|
|
| Koepi wrote: | Hi,
if i understand this option right
| Code: | # set to 1 to enable a /notice reply instead, 0 for normal text (default)
variable notice_reply 0 |
then this should give the output as notice or? When i set this option to 1 it give a public replay too, and not a notice reply  |
variable notice_reply 0 <= normal text reply
variable notice_reply 1 <= reply via notice _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
| Back to top |
|
 |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Mon Nov 07, 2005 5:52 am Post subject: |
|
|
okay, notice reply doesn't work  |
|
| Back to top |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Mon Nov 07, 2005 6:25 am Post subject: |
|
|
| Koepi wrote: | okay, notice reply doesn't work  |
what actually happend,
on variable 1 its giving normal reply or nothing?
OR on both 0 and 1 its replying as nornal text not notice?
what variable have you set in the script?
Its working fine here. Check yourside maybe you missing something, see:
On variable 1
| Code: | # set to 1 to enable a /notice reply instead, 0 for normal text (default)
variable notice_reply 1 |
Reply:
On variable 0
| Code: | # set to 1 to enable a /notice reply instead, 0 for normal text (default)
variable notice_reply 0 |
Reply:
(Suggestion: incith, much better if bot reply via private notice not channel notice when it set to be on 1 ) _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Mon Nov 07, 2005 10:16 am Post subject: |
|
|
I've already had a couple of complaints that a channel notice was not exactly what people wanted, so I'll simply add (another) option to force all replies via private msg AND private notice.
ie:
set notice_reply to 1 & force_private to 1 = private notice reply.
set notice_reply to 0 & force_private to 1 = private msg reply.
set notice_reply to 1 & force_private to 0 = regular channel OR private NOTICE.
set notice_reply to 0 & force_private to 0 = regular channel OR private MSG.
That should keep everyone happy
Oh, and by the way, for anyone who wants to use a "?" as your command_char, dont until at least the next version as it doesnt work.
So, give me a day or two for the working/real life annoyances to get out of the way and I'll put up a new version with quite a few updates.
(Again .. *sigh*)
-madwoota |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Wed Nov 09, 2005 10:32 am Post subject: |
|
|
Just thought I'd let you all know that I'm nearly done on the next version of incith:google. All of the changes and bugs mentioned so far are done.
I'm just running through my regression test scripts in both eggdrop & windrop and will hopefully post a new version tomorrow night.
-madwoota |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Thu Nov 10, 2005 5:01 am Post subject: |
|
|
Hi all,
v1.7 is done and ready to go.
Includes the following updates:
- added option to force all replies as private (req)
- fixed google groups returning no results
- fixed define: errors on no results
- fixed google print errors on no results/typos
- fixed movie review errors on no results/typos
- fixed some characters not usable as command_chars on one of regular eggdrop or windrop+cygwin
- fixed occasional weird response for travel info
- updated requirements to http package 2.4
- loads of other internal changes
Note: For the new added option, use notice_reply=1 and force_private=1 to make all replies as a private NOTICE to the user insted of public/channel ones. (See tcl config section for details.)
I've also included http.tcl v2.4.2 for any Windows Eggdrop (Windrop) users as the package requirements have changed.
Hold your breath, take a ride, touch me in that place and get it here !!
http://www.woota.net/~madwoota/incith-google-current.tar.gz
-madwoota
Last edited by madwoota on Wed Nov 23, 2005 8:06 am; edited 2 times in total |
|
| Back to top |
|
 |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Thu Nov 10, 2005 5:52 am Post subject: |
|
|
perfect. thank you  |
|
| Back to top |
|
 |
evildude Voice
Joined: 03 Feb 2004 Posts: 24
|
Posted: Fri Nov 18, 2005 8:28 am Post subject: |
|
|
| I'm using 1.7 and if I search an ip or hostname I get "no search results were found" every time. |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Sun Nov 20, 2005 6:00 pm Post subject: |
|
|
| evildude wrote: | | I'm using 1.7 and if I search an ip or hostname I get "no search results were found" every time. |
do you have an example search where a result is not returned when it should ? |
|
| Back to top |
|
 |
madwoota Halfop
Joined: 09 Aug 2005 Posts: 53
|
Posted: Sun Nov 20, 2005 7:50 pm Post subject: |
|
|
Never mind, I've found the problem.
I'll fix it & release a bugfix update asap.
-madwoota |
|
| Back to top |
|
 |
|