mIRC Homepage
Posted By: Techchef Script that will repeat - 11/06/18 10:09 PM
I want a script that will post what was last said in chat when someone says what.
So it would be like this
User 1: blah blah blah blah blah
User 2: what?
Bot: User 1 said blah blah blah blah blah
Posted By: westor Re: Script that will repeat - 11/06/18 10:16 PM
You want this to work in private messages or in channel messages?
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:18 PM
Channel please and thank you smile
Posted By: westor Re: Script that will repeat - 11/06/18 10:22 PM
Try use this:

Code:
ON *:TEXT:*:#: {
  if ($strip($1-) == what?) && (%last_ [ $+ [ $chan ] $+ ] _msg) && ($gettok(%last_ [ $+ [ $chan ] $+ ] _msg,1,32) !== $nick) { msg $chan %last_ [ $+ [ $chan ] $+ ] _msg | return }
  set -e %last_ $+ $chan $+ _msg $nick said: $1-
}

Posted By: Techchef Re: Script that will repeat - 11/06/18 10:33 PM
No go...
Posted By: westor Re: Script that will repeat - 11/06/18 10:34 PM
What?
Posted By: Wims Re: Script that will repeat - 11/06/18 10:36 PM
No go...
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:37 PM
Doesn't work for me frown
Posted By: westor Re: Script that will repeat - 11/06/18 10:37 PM
Originally Posted By: Wims
No go...


What?
Posted By: westor Re: Script that will repeat - 11/06/18 10:38 PM
ALT + R -> File -> New -> Paste the code -> And it will work.
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:43 PM
not sure what i am doing wrong-but i tried this too..its in a new blank script with nothing else and its not triggering.
Posted By: westor Re: Script that will repeat - 11/06/18 10:46 PM
I've tried the code and seems to work here, what mIRC version you have 3.21?
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:47 PM
mIRC 7.52 (according to the About section)
Posted By: westor Re: Script that will repeat - 11/06/18 10:48 PM
Capture a video and show me what are you doing, so i can have an image to see what is going on..
Posted By: maroon Re: Script that will repeat - 11/06/18 10:52 PM
make sure that you have 2 different nicks testing this, with neither nick being the one running the script
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:57 PM
hopefully this works...a bunch of screenshots of me doing each step
https://www.dropbox.com/sh/dcb1027by5wgyub/AACgV07nSS5KDvSIcAfqRrQ2a?dl=0
Posted By: Techchef Re: Script that will repeat - 11/06/18 10:59 PM
i have like 5 people typing what...
Posted By: westor Re: Script that will repeat - 11/06/18 11:03 PM
Originally Posted By: Techchef
I want a script that will post what was last said in chat when someone says what.
So it would be like this
User 1: blah blah blah blah blah
User 2: what?
Bot: User 1 said blah blah blah blah blah


That was your FIRST post, what are you requesting in your first post?

User 2: what?

And what are typing in your examples tests?

what

If you forget what are you requesting, then i can suggest you a good doctor! laugh
Posted By: Techchef Re: Script that will repeat - 11/06/18 11:09 PM
OK-this is my own stupidity (and tiredness) i was typing what, not what?..I didn't even realize i typed what? in my op.
It works smile
© mIRC Discussion Forums