Questions tagged [mirc]

Windows based IRC (Internet Relay Chat) client. Featuring easy to use interface and powerfull scripting language.

mIRC is widely used, a shareware windows based client for IRC (Internet Relay Chat) written in C/C++ featuring easy to use interface, file transfers, multi-servers connection, IPv6, SSL encryption, UTF-8, UPnP, customizable sounds, spoken messages, tray notifications, message logging and much more. It also features it's own powerful scripting language mSL (mIRC Scripting Language) and loading DLLs via public API.

147 questions
0
votes
3 answers

MIRC, Ignoring " | " when reading a text file?

in my MIRC script, it is set up to read a text file, in these text files there is the symbol " | " followed by a space on both ends, it seems to read everything before " | " just fine, but cuts it off right at the first space. Any help is…
skdfsfwse
  • 19
  • 7
0
votes
1 answer

On Text while in private query?

i was wondering how to get my remotes scripts to work in private queries rather than a channel, thank you! example: on $*:text:*abc*:"username": { msg "username" you whispered, $2 . }
skdfsfwse
  • 19
  • 7
0
votes
1 answer

"$2" Not working in script

my script that I had made is not working and was hoping you could all help me out, This is being used in my Twitch.tv IRC bot, i was hoping to rewrite the users whisper after "42" but $2 is not working for me! Example: "User1: 42 abc" I whisper…
skdfsfwse
  • 19
  • 7
0
votes
1 answer

Rewrite another users message

I use MIRC and this is my goal, i'm sure it's simple! thanks guys. on $*:text:*test*:#: { msg $chan "Entire message containing test" }
skdfsfwse
  • 19
  • 7
0
votes
1 answer

mIRC Search for multiple words in text file

I am trying to search a text file that will return a result if more than one word is found in that line. I don't see this explained in the documentation and I have tried various loops with no success. What I would like to do is something similar to…
oneeach
  • 87
  • 1
  • 8
0
votes
1 answer

Irc Link Protect Script - Space after TLD

I'm quite new to coding but i'm makin' my way through it :) So here is my problem. I'm using this code which is working perfectly except this one little thingy. Links are being blocked also if it is the ending of a sentence like: this.communication…
0
votes
0 answers

Auto response after #seconds & #ofmessagelines

I want to count #ofmessagelines and #amountoftime that has passed. Main script: menu channel { Announce .Start: .timerAnnounce. $+ $chan 0 11 msg $chan $$?="Hi msg" .Stop: .timerAnnounce. $+ $chan off } **Example given ** ON *:TEXT:*:#: { if…
0
votes
2 answers

Script to generate random string not working

I'm trying to generate random string with white spaces but it is not working : /rs { %i=1 %r=$rand(1,50) %s=$rand(a,z) while(%i <= %r) { %i=%i+1 %s=%s $+ $rand(a,z) if(1 == rand(1,4) %s=%s $+ $chr(32) } echo %s } Returns…
Wicelo
  • 2,358
  • 2
  • 28
  • 44
0
votes
1 answer

mIRC how to repeat string with white spaces in between?

How to repeat a string adding a white space in between ? $str(ho, 3) will return hohoho and I want ho ho ho
Wicelo
  • 2,358
  • 2
  • 28
  • 44
0
votes
1 answer

mIRC close window when fails to connect

I'm often connecting to multiple servers using server -m it opens new window for every server and I was wondering if it was possible to automatically close the window when it fails to connect. Possibly using the event CONNECTFAIL. Any idea ?
Wicelo
  • 2,358
  • 2
  • 28
  • 44
0
votes
1 answer

mIRC Blackjack Timeout Script

I have a bunch of code for a blackjack game script on mIRC. Everything is running fine, but when a user starts a game of blackjack, no one else can play until that game finishes. I was wondering if someone could help me out with coding it so that I…
0
votes
2 answers

Grep ip's and hostnames from a Mirc log

I need to filter out all of the hostnames / ip's that have joined my server. I have a log file, but I don't know what regex I could use, I have already tried searching here. Maybe you can help me out? Log: 03[22:56] * Jason…
Cat Sleep
  • 3
  • 1
0
votes
1 answer

how to format a number in mIRC?

My remote script gets a variable with a number formatted like 4365271385. I would like the script to send a message with the variable in it formatted like 4.365.271.385. I searched the internet and the help file, but i couldn't find it. Sometimes…
Woulei
  • 103
  • 2
0
votes
0 answers

Problems creating a polling system for a twitch bot

I am attempting to create a script that is capable of polling a twitch channel. I have written the basic idea of it but i'm having trouble working out the kinks. I have experience programming in C and Java but am still very new to mIRC. I'm having…
0
votes
1 answer

How do I get a list of users connected in chat in an mIRC Remote script

I feel like this has got to be obvious, but I've been searching and just can't find the answer. I'm programming a 'bot' which connects to my twitch channel's chat. I'd like to track the number of consecutive streams watched by users. I have a…
Weezle
  • 730
  • 10
  • 27