mIRC Home    About    Download    Register    News    Help

Print Thread
question-bot advice for beginners #108198 18/01/05 01:27 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
hi,i just made a bot that ask question yester day,and im giving advice to how to make a question bot to mirc beginners

step1:
first u make the question
example:
on 1:text*:!question*:#:{
/msg $chan yes or no
/msg $chan A) yes
/msg $chan B) no
}
step2
: then u make the answers,u make the answer's word is a match text and then something like "right!" appear,.
example:
on 1:text:*yes*:#:{
/msg $chan Correct!
}
then follow those instruction to continue ur question's then...
if u like u can like make a info box about the bot using the matchtext script.
thats all i liked to share.thanks for reading!


practice makes perfect... smile
Re: question-bot advice for beginners #108199 18/01/05 05:19 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
That is incredibly bad advice.

Re: question-bot advice for beginners #108200 18/01/05 06:54 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I don't know what I was reading there at all to be honest with you, but it certainly wasn't advice. That *yes* matchtext is a no go. You're going to get "Correct!" if yes is mentioned in the string totally not related for example:

Darren Hayes is lame.

Correct!

I agree with Dave there, it's an unreliable source of help.

Code:
on 1:text[color:red]*[/color]:!question*:#: {
  /msg $chan yes or no
  /msg $chan A) yes
  /msg $chan B) no
}


The stuff in red shouldn't be there. So none of that code will truly work as planned.

/help On Text

I'd actually use Token Identifiers for these kind of tasks.

/help Token Identifiers

Re: question-bot advice for beginners #108201 18/01/05 08:47 AM
Joined: Nov 2004
Posts: 332
R
ricky_knuckles Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
tokens are hard
its in my list of things to learn along side $regex
i even have the tutorials printed out and in the bathroom

you may as well hold on to your advice until you see a post that you think you can help on


The Kodokan will move you, one way or another.
Re: question-bot advice for beginners #108202 18/01/05 09:03 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I told him where to look in the .hlp file, which is a great help. I didn't do any Token examples, it explains all you need to know in the file. Telling anyone any different is wrong.

Quote:

you may as well hold on to your advice until you see a post that you think you can help on


Where was the help in your post, huh?

Have a good day..

Re: question-bot advice for beginners #108203 18/01/05 09:21 AM
Joined: Jan 2005
Posts: 59
C
confuzzed Offline
Babel fish
Offline
Babel fish
C
Joined: Jan 2005
Posts: 59
Quote:
I told him where to look in the .hlp file, which is a great help. I didn't do any Token examples, it explains all you need to know in the file. Telling anyone any different is wrong.

Quote:

you may as well hold on to your advice until you see a post that you think you can help on


Where was the help in your post, huh?

Have a good day..


Slade is right he gave plenty of information to help this person with the help files and explaing that the code wasnt going to work as planed, now ricky you didnt post anything usefull except that you read tutorials on the can, sorry but your post was a waste of time to read and for you to write.

Last edited by confuzzed; 18/01/05 09:22 AM.
Re: question-bot advice for beginners #108204 18/01/05 09:48 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Please don't ever give advice anymore to beginners.

The reason to give help to beginners is to let them learn useful coding techniques and tricks, not crap like you just posted. That is literally the worst trivia bot I have ever seen.

Oh well, let's just assume that you posted this "advice" more for educational reasons, than to show off your script, so thanks for sharing, but no thanks.

Cya


Gone.
Re: question-bot advice for beginners #108205 19/01/05 12:50 AM
Joined: Dec 2004
Posts: 80
C
CyborAccess Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
hey im a beginner too u no?
thats y i have this simple bot script....in fact he's my first bot ever.....u meanys......so far i no matchtext,join scripts u no? sheesh mad


practice makes perfect... smile
Re: question-bot advice for beginners #108206 19/01/05 01:08 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
To be quite frank with you dude, I don't think your bot qualified for being simple. shocked

Re: question-bot advice for beginners #108207 19/01/05 01:49 AM
Joined: Nov 2004
Posts: 332
R
ricky_knuckles Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
i was talking to him cumquat ( him being the bot master guy cyber access or whatever)
i misspointed my reply thats all
sorry for the mix up

Last edited by ricky_knuckles; 19/01/05 01:55 AM.

The Kodokan will move you, one way or another.
Re: question-bot advice for beginners #108208 19/01/05 01:52 AM
Joined: Nov 2004
Posts: 332
R
ricky_knuckles Offline
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
good thing u didnt submit to mirc.net
they laughed one of my submissions down
no telling what would have happened to you


The Kodokan will move you, one way or another.