egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:google :)
Goto page Previous  1, 2, 3, 4, 5 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Thu Nov 03, 2005 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Nov 03, 2005 6:47 am    Post subject: Reply with quote

You could try {?}, or "\?" might work too.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Thu Nov 03, 2005 9:16 am    Post subject: Reply with quote

Sorry, it didn't work Sad
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sat Nov 05, 2005 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Sun Nov 06, 2005 3:02 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Mon Nov 07, 2005 5:36 am    Post subject: Reply with quote

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 Sad

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
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Mon Nov 07, 2005 5:52 am    Post subject: Reply with quote

okay, notice reply doesn't work Wink
Back to top
View user's profile Send private message
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Mon Nov 07, 2005 6:25 am    Post subject: Reply with quote

Koepi wrote:
okay, notice reply doesn't work Wink

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:
Quote:
[16:39] <@Linux> !google egghelp
[16:40] -Bot:#Linux- egghelp.org @ http://www.egghelp.org/ | egghelp.org: tcl archive @ http://www.egghelp.org/tcl.htm | #egghelp @ http://shell.reverse.net/~matilda/egghelp.htm | #egghelp @ http://shell.reverse.net/~matilda/egghelp_stats.htm

On variable 0
Code:
# set to 1 to enable a /notice reply instead, 0 for normal text (default)
variable notice_reply 0

Reply:
Quote:
[16:43] <@Linux> !google egghelp
[16:43] <Bot> egghelp.org @ http://www.egghelp.org/ | egghelp.org: tcl archive @ http://www.egghelp.org/tcl.htm | #egghelp @ http://shell.reverse.net/~matilda/egghelp.htm | #egghelp @ http://shell.reverse.net/~matilda/egghelp_stats.htm


(Suggestion: incith, much better if bot reply via private notice not channel notice when it set to be on 1 Smile)
_________________
I'm an idiot, At least this one [bug] took about 5 minutes to find...
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Mon Nov 07, 2005 10:16 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Wed Nov 09, 2005 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Thu Nov 10, 2005 5:01 am    Post subject: Reply with quote

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

Very Happy

-madwoota


Last edited by madwoota on Wed Nov 23, 2005 8:06 am; edited 2 times in total
Back to top
View user's profile Send private message
Koepi
Voice


Joined: 31 Aug 2003
Posts: 26

PostPosted: Thu Nov 10, 2005 5:52 am    Post subject: Reply with quote

perfect. thank you Wink
Back to top
View user's profile Send private message
evildude
Voice


Joined: 03 Feb 2004
Posts: 24

PostPosted: Fri Nov 18, 2005 8:28 am    Post subject: Reply with quote

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
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sun Nov 20, 2005 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Sun Nov 20, 2005 7:50 pm    Post subject: Reply with quote

Never mind, I've found the problem.
I'll fix it & release a bugfix update asap.

-madwoota
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5 ... 17, 18, 19  Next
Page 4 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber