User Control Panel
Advertisements

HELP US, HELP YOU!

problems with trigger

 
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion
View unanswered posts
Author Message
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Sat Mar 06, 2004 5:48 pm    Post subject: Reply with quote

hi....i use the trigger brain alot and ffound a problem
i added quite a few more responces and some of them didnt work
just in case...here they are:
Code:
Trigger Data .1<br />\b(hi|hello|hey|wasup|wassup|sup)\b###hi|hello|hey|hi there|hey there|hello there|wassup?|wasup?|sup?|wassup|wasup|sup|how are you?|how *lazy* *lazy*?|how's it going?<br />what(s|'s| is) up|(wa|was|)sup###not much|nothing|nada|nuttin|the sky, haha<br />bye|cya|later|ciao|adios###bye|cya|later|ciao|adios<br />(your|*lazy*) name|what (are|*lazy*) (you|*lazy*) called|got a name###dd|I'm dd|dd, *lazy*?|dd, what's yours?|call me dd|dd... why?|dd, you?<br />how old (are|*lazy*) (you|*lazy*)|(your|*lazy*) age###15|just turned 15|15... you?|15... *lazy*?|I'm 15, and *lazy*?<br />who created (you|*lazy*)|who(s|'s| is|) (your|*lazy*) programmer|who made (you|*lazy*)###daz|almight daz|the one and only DAZ!<br />fortune###service:http://www.botwork.com/cgi-bin/fortune.cgi?direct=get<br />bart|simpson###service:http://www.botwork.com/cgi-bin/bartsimpson.cgi?direct=get<br />what is a \b.+\b|what is an \b.+\b|what is \b.+\b###service:http://www.botwork.com/cgi-bin/simplestatement.cgi?direct=##MESSAGE##<br />bot|robot###im not a robot!|haha you think im a robot?|whos a robot?|hehe i know a robot<br />daz|dazzy|darren|cox###*lazy* thats my owner|My owner!|he created me!|i was made by him did you know!|hes my master<br />crap|shit|rubbish###*lazy* well look at you!|stop looking in a mirror!<br />sex###mmmmm sex:P<br />gay###your callin a robot gay....>_> hmmmm<br />luca###hes a mod ya know<br />shit|*rude*|cunt|dick###please dont swear 0o<br />demolition|dude|dd###demolition dude.....hes amazing<br />dc|destructive child###hehe hes dead now.!!!<br />vodoo|vodoo child###hehe not as good as this 1:P<br />cool|sweet###*lazy* m8!|WOW|thts good!<br />dude|man###yo peeps<br />chatroom|chat|chatting|chatter###*lazy* goto the chat room with !chat<br />shut up|quiet|shutup|shutit###you only gotta !shutup 2 make me!<br />LOL|lol|lmao|hehe|haha###HAHAHA|heh|lol|lmao<br />rofl###*rolls on floor laughin<br />mods|moderators|mod|admin|trialmod|vip###*lazy* respect em!!!<br />smell|stink###*lazy* i can smell that aswell<br />thank you|thanks|ty|thx|fanks###you welcome..|no problem|np|fine<br />*lazy* gay|gay###what you say is what you are|pfft...*lazy* called a robot gay|a robot gay....yehhh<.<<br />loz###hes a good mod!!*lazy* respect him<br />:P###oi cheeky!|put that tounge away<br />:D###what you so happy about!|:D:D:D:D<br />:S|:s###im confused as well|huh?|uhhh..what?<br />^o)###do i detect sarcasm??|strange<br />(*lazy*)|(*lazy*)### aww has someone broken your heart?|I have some glue, want me to fix it for ya?<br />Hazza###he's a headmod<br />:'(###(um)don't cry(um)|({)awwww(})<br />(brb)|brb|be right back###(brb)don't be too long(brb)|it gets lonley wthout you:p<br />(so)|football|footy###(so)football(so)|what team do you support?<br />+o(###Someone get a sick bag|He's gonna blow:p!!<br />(ip)###*dreams of being there*.... sorry|i need a holiday:p<br />(mp)|(t)|(T)###Its for you!!|get the phone!!



its the ones near the bottom not working....does any one know why...
all i could think of is that it only allows you a certain amout...
but that would be dumb and i check in trigger brain and .pm for clues but nothing :unsure:
Back to top
JoeX
Agent
Agent


Joined: 02 Jan 2004
Posts: 2153

Reputation: 72.7

PostPosted: Sat Mar 06, 2004 5:50 pm    Post subject: Reply with quote

Try taking a few out,

You may of gone over one of the other Operaters

_________________
Heroes NBC
Back to top
UnShavenGod
Young One
Young One


Joined: 26 Feb 2004
Posts: 99

Reputation: 28.7Reputation: 28.7Reputation: 28.7

PostPosted: Sat Mar 06, 2004 9:22 pm    Post subject: Reply with quote

it's really hard to help people when they dump a whole bunch of irrelevant code on the message.... It would save everyone a lot of time if you would do some really simple debugging before posting. :huh:

And what error message is it giving?

My guess would be that it has to do with the regex operators. Might you need to be double-escaping those?

Example, + means "1 or more of the preceding character" ...

so your expression +o( might cause problems -- a "+" operator with no preceding character, AND an unmatched "("

If you want to match those characters, I believe you need to precede them with \\

... unless the program is using \Q ... \E regex matching --- but i might doubt that it is.

other tricky characters that require similar treatment: ^$*+?\[]{}()

I think that's all of them...
:unsure:
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat Mar 06, 2004 9:27 pm    Post subject: Reply with quote

QUOTE(UnShavenGod @ Mar 6 2004, 04:22 PM)
it's really hard to help people when they dump a whole bunch of irrelevant code on the message....  It would save everyone a lot of time if you would do some really simple debugging before posting.   :huh:

And what error message is it giving?

My guess would be that it has to do with the regex operators.  Might you need to be double-escaping those?

Example,  + means "1 or more of the preceding character" ...

so your expression +o( might cause problems -- a "+" operator with no preceding character, AND an unmatched "("

If you want to match those characters, I believe you need to precede them with \\

... unless the program is using \Q ... \E regex matching --- but i might doubt that it is.

other tricky characters that require similar treatment: ^$*+?\[]{}()

I think that's all of them...
  :unsure:

Not \\, \\ is for a single \ mark to be escaped.

\\ = \
\/ = /
\# = #
\@ = @
\( = (
\) = )
etc.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Sun Mar 07, 2004 11:55 am    Post subject: Reply with quote

sorted thanks i didnt think none of them counted...but obviously they do

thanks Laughing
Back to top
JoeX
Agent
Agent


Joined: 02 Jan 2004
Posts: 2153

Reputation: 72.7

PostPosted: Sun Mar 07, 2004 1:04 pm    Post subject: Reply with quote

lol daz
_________________
Heroes NBC
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group