Discussion:
Possbile to do this without the use of a bot?
(too old to reply)
PNP Newbie
2005-08-15 03:55:26 UTC
Permalink
I wish to be able to put forth a certain statement/command in a
channel I'm currently in when someone else on the same channel utters
something specific?

For eg., if someone enters, "-queue file 69", in the channel, then I
wsh to be able to enter "-queued 69" in the channel as well.

I'm sure there's a way to do this, but more importantly, I was
wondering if I need the use of a bot in order for me to able to do
this, or can I just have it functioning just from my own person's
nick?

IOW, if I'm logged in as "SomePerson" in a chan and carry on a
conversation and etc with the others, can a script be written such
that "SomePerson" can issue the desired statement when a certain
string of words appear in the channel?

If this is not possible without using a bot, then is it possible to
have "SomePerson" toggle between being a in a bot mode and being in a
person mode?

Please advise on this matter. As well, can someone please provide me
with some links which contain good mIRC script tutorials or lessons?
And if someone would be so kind as to provide a snippet for a script
which accomplish what I've described above to get me started, I'd
truly appreciate it :-)
Yohan G.
2005-08-15 12:32:18 UTC
Permalink
Post by PNP Newbie
I wish to be able to put forth a certain statement/command in a
channel I'm currently in when someone else on the same channel utters
something specific?
For eg., if someone enters, "-queue file 69", in the channel, then I
wish to be able to enter "-queued 69" in the channel as well.
I'm sure there's a way to do this, but more importantly, I was
wondering if I need the use of a bot in order for me to able to do
this, or can I just have it functioning just from my own person's
nick?
IOW, if I'm logged in as "SomePerson" in a chan and carry on a
conversation and etc with the others, can a script be written such
that "SomePerson" can issue the desired statement when a certain
string of words appear in the channel?
You can have it functioning from your mirc
Post by PNP Newbie
If this is not possible without using a bot, then is it possible to
have "SomePerson" toggle between being a in a bot mode and being in a
person mode?
Please advise on this matter. As well, can someone please provide me
with some links which contain good mIRC script tutorials or lessons?
And if someone would be so kind as to provide a snippet for a script
which accomplish what I've described above to get me started, I'd
truly appreciate it :-)
I started with the help of the mIRC Help and with reading other (an
simples) scripts ;o

If I have understood, you need something like that:

on 1:TEXT:-queue file*:#channel(or"*"forallchannels):{
if ($3 != $null) {
msg $chan -queued $3
}
else { .notice $nick You should type -queue file <a number to put here
without the <> }
}


$nick = reffers to the person who triggered the script

$chan = reffers to the channel (heh)

if ($3 != $null) = if the 3rd word in the sentence (-queue (1) file (2)
number (3)) is not null (if there is a number), then we proceed to the
thing in the { }, else (after the { } of the "if" (everything is aligned
after clicking "ok" in the remote thing (Alt+R))) we send a notice to
the person (.notice, the dot means that the notice will not be shown in
your status window, you can delete the dot if you want...) to say that
the number is absent

Type "/help on text" in mirc ^^

note that if you want to do more than 1 thing in the if, just add a ligne:
... {
msg $chan -queued $3
notice $nick Ok, thanks :)
}


I'm not a native english, please forgive my mistakes ^^'

Some others commands usefull, see:
/help /set
/help on join
/help /timer
...

Beware of flood :/
Never use /msg $nick
email me some scripts if they don't work (but don't mail me something
like (what sould a do to do that? can you write me a script to do that?)
(just replace the freeeeeee.fr by free.fr)


...
PNP Newbie
2005-08-15 18:23:46 UTC
Permalink
On Mon, 15 Aug 2005 14:32:18 +0200, "Yohan G."
<***@freeeeee.fr> wrote:

[snip]>
Post by Yohan G.
I'm not a native english, please forgive my mistakes ^^'
/help /set
/help on join
/help /timer
...
Beware of flood :/
Never use /msg $nick
email me some scripts if they don't work (but don't mail me something
like (what sould a do to do that? can you write me a script to do that?)
(just replace the freeeeeee.fr by free.fr)
Wow, Yohan. I sincerely thank you for taking the time to provide me
with such helpful information. Your English is just fine too. It's
better than most people I know :-)

I'll read up on the mIRC script tutorials, then take a look at what
you generously provided me with so that I at least understand what's
going on. Once again, thanks and take care.

Continue reading on narkive:
Search results for 'Possbile to do this without the use of a bot?' (Questions and Answers)
3
replies
How can I automatically fill out web forms on a timed basis?
started 2016-02-24 13:28:24 UTC
programming & design
Loading...