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
1
vote
2 answers

How to auto copy paste between different channels on different network in mIRC, if it matches predefined word?

I'm a person with zero programming skill, thus everything related to programming seems like the hardest thing. I wanted to auto copy paste between different channels on different network using mIRC, if it matches predefined word. For example: My…
AXiON
  • 11
  • 2
1
vote
1 answer

PHP code doesnt "compile" when connecting via sockets

I am writing a script for mIRC that will fetch data from my webserver, that code is generated via PHP. It works just fine when i connect via my browser (firefox). However, when i connect via the mIRC sockets, server fails to "compile" my PHP code. I…
sleepr
  • 11
  • 2
1
vote
2 answers

How to create a mIRC Dialog Side Menu?

I have quite a lot of knowledge of programming for mIRC, making scripts and whatnot but now I'm delving into creating a dialog so I can create a bot for people of which they can fine tune to their channels needs. I would like to create a similar…
user2199660
1
vote
1 answer

check var in between

if (%var == 1 or 2 or 3 or 4 or 5) { } So what u want is to check whether the variable's value is in between 1-5 in mirc? I can do it like this: if (%var == 1) { } if (%var == 2) { } if (%var == 3) { } if (%var == 4) { } if (%var == 5) { …
Sasuke Kun
  • 2,449
  • 3
  • 15
  • 14
1
vote
1 answer

C# Socket Send Picture JPEG

So I have found here in stackoverflow One code for sending through sockets a binary file, an image.. So i used it for test to my Project private void send_ss() { byte[] data = new byte[1024]; int sent; IPEndPoint ipep =…
Devian
  • 817
  • 1
  • 12
  • 22
1
vote
1 answer

What's the simplest way to split 10 random numbers into two lists where the difference in the sum of the lists is as small as possible

You get 10 numbers that you have to split into two lists where the sum of numbers in the lists have the smallest difference possible. so let's say you get: 10 29 59 39 20 17 29 48 33 45 how would you sort this into two lists where the difference in…
1
vote
2 answers

How to check if $4 is registered in IRC?

I am quite an expert when it comes to programming in the MSL language, however I am unfamiliar with raw commands and whatnot. I am in development of a new script. In this script I would like to check if $4 in what a user says is a registered nick or…
user1797285
1
vote
1 answer

mIRC bot - copy/paste lines in 2 channels

I’m a noob in mirc scripting, and I need some help. there’s 2 irc channels. let’s call then #channel1 and #channel2; There’s 2 bots. One is mine, let’s call him “mybot” (my bot is in both channels). The other bot is from a third person, let’s call…
Dussel
  • 25
  • 7
1
vote
1 answer

Mirc control codes to html, through php

I realize this has been asked before, on this very forum no less, but the proposed solution was not reliable for me. I have been working on this for a week or more by now, and I stayed up 'till 3am yesterday working on it... But I digress, let me…
Daedalus
  • 7,586
  • 5
  • 36
  • 61
1
vote
1 answer

Undefined index notice in php regexp

Well, I've tried searching over the internet for a few hours now, but so far it's been of no assistance. I am trying to figure out why I keep getting the following notice notice(yes, I am aware it is just a notice and does not halt the execution of…
Daedalus
  • 7,586
  • 5
  • 36
  • 61
0
votes
2 answers

Passing string from binvar to a file

How can i write binvar to a file with line breaks? noop $hget(row, siirMisralari_txt, &binvar) fopen poemFile temp_text.txt fwrite -bn poemFile &binvar fclose poemFile bunset &binvar This code can t include line breaks.
nikel
  • 653
  • 4
  • 13
  • 24
0
votes
0 answers

mSL Scripting with LastFM API

I'm having a issue with my mIRC script. Im trying to create a channel trigger !lfm the results will show the Artist, Genre, Plays ; Set your Last.fm API key here alias SetAPIKey { return API_KEY } on *:TEXT:.lfm *:#: { ; Store the artist name…
Gerard
  • 1
  • 2
0
votes
0 answers

Cannot make a bot the channel operator on an IRC server based on InspIRCd

I am working on a pet project where I have an IRC server based on InspIRCd. I have a few bots from some external scripts, which keep connecting to a channel under this server and quitting after posting some updates. Let us name the…
0
votes
0 answers

Shoutcast 2.5 mIRC Socket Bot Connection Problem

I have a socket bot that I use as a radio, but it cannot pull the data and reflect it to the channel. What is the problem? sockwrite -nt $sockname GET $+(/admin.cgi?pass=,$_rpass,&sid=1&mode=viewxml&page=0) HTTP/1.1 sockwrite -nt $sockname Host:…
0
votes
1 answer

trying to get script to play from txt file on match

i am working on a blacklist script and so far it works fine.. I am adding a nick and reason and it saves and deletes fine.. alias -l txt { return C:\Users\hifin\Desktop\mibbitnames\badnick.txt } alias -l mychan { return #mastercontrol } ON…