PinkieBot Oatmeal Script HELP!

By BitHelper on Jan 03, 2015

I need help with a MIRC script for a PinkieBot we want to the bot to respond when ever someone mention the word "oatmeal" here is the code. Please help.

on *:TEXT:oatmeal:#: {msg $chan Oatmeal? Are you crazy?! }

Comments

Sign in to comment.
ovelayer   -  Jan 04, 2015

2 mirc dirs?
it should be the one where your mirc.exe is located

BitHelper  -  Jan 04, 2015

It does not seem to work, I put in your edit of my script. And I am not getting anything. I put the .txt in the mirc file and nothing. What am I screwing up?

ovelayer  -  Jan 04, 2015

try this

on *:text:* oatmeal *:#: {
  .msg $chan $read($scriptdir\oatmeal.txt)
}

and put he oatmeal.txt in the same dir as you put the script in
make sure you add what you want the responses to be inside the oatmeal.txt

BitHelper  -  Jan 04, 2015

Nope, Still nothing. I don't get why doesn't want to work...

ovelayer  -  Jan 04, 2015

are you runnin it on yourself or on a bot?

BitHelper  -  Jan 04, 2015

Just on a Bot. And then i use my xchat.

ovelayer  -  Jan 04, 2015

k re-did and tested

on *:text:*:#: {
  if (oatmeal isin $1-) {
    .msg $chan $read($scriptdir\oatmeal.txt)
  }
}

[7:57pm Sun] <~xXBERTOXx> oatmeal
[7:57pm Sun] <@TeSt> just a test ..working
[7:57pm Sun] <~xXBERTOXx> this is oatmeal
[7:57pm Sun] <@TeSt> just a test ..working

BitHelper  -  Jan 04, 2015

ok looks like it works just need to fix this.

  • /msg: insufficient parameters (line 3, script51.ini)
BitHelper  -  Jan 04, 2015

Yes it works! Thank you ovelayer! You are the best!

ovelayer  -  Jan 04, 2015

your welcome =)

Sign in to comment

ovelayer   -  Jan 04, 2015

on :text: oatmeal :#: {
.msg $chan $read(oatmeal.txt)
}
on
:input: oatmeal :#: {
msg $chan $read(oatmeal.txt)
}
then just make a text file that contains the reponses you would like it to say
I added the on input incase your are running the script on your own mirc

ovelayer  -  Jan 04, 2015

sorry i messed up ...
let try this again

on *:text:* oatmeal *:#: {
  .msg $chan $read(oatmeal.txt)
}
on *:input:* oatmeal *:#: {
  msg $chan $read(oatmeal.txt)
}

now just make a oatmeal.txt file in your main mirc dir and add the repsonses you would like it to say
I added the on input incase you run this script in your own mirc
enjoy

Sign in to comment

BitHelper   -  Jan 04, 2015

That does not help. Please anyone I really need help with this script. :(

 Respond  
Iyouboushi   -  Jan 04, 2015

on *:TEXT:oatmeal:#: { msg $chan Oatmeal? Are you crazy?! }

Make sure there's a space after the { and before the }

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.