mIRC Home    About    Download    Register    News    Help

Print Thread
#72624 24/02/04 08:29 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Hello there. A while ago I saw a script that made some box or window come out from mirc. This was controlling certain options in the channel. It wasn't a popup window from right or left clicking. I would like to know if it is possible for me to make one and how so.

#72625 24/02/04 10:05 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
try double clicking a channel window.


New username: hixxy
#72626 25/02/04 10:06 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
No it wasn't a box like that. It was a custom made box. Like one he scripted himself. I know how to get Channel Central up :P

I think he also made some MP3 script player as well. It to used some dialog message window.

#72627 25/02/04 06:48 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Maybe you are after this:
/help /dialog
Prolly a little too much info in one little subject. But Still yet not enough. If you need help with a particular htingu dont understand trowl through a search of the forums, if u cant find your answer feel free to ask.

Cheers

#72628 26/02/04 08:06 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Thanks that might help. More info later as I try getting it to work. Cheers smile

#72629 27/02/04 04:22 PM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Ok it works. I tried visiting some mirc channels but I was abused by some fools called Kazuki and Julie2. Apparently I flooded because I tried to reveal some spammers whois information as well as showing them their rudeness. Oh well the internet is full of misguided souls.

Anywho back to my dialog problem. I know what to do but I do not know how to get there. See the problem is I have a text file that acts as a playlist for music. I want to use the playlist as a dropdown box where I can select the music file and play it (using a button for the play). I want to know what methods I should use to do this.

#72630 27/02/04 05:04 PM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
I was getting somewhere on one of the channels when some idiot called mErk kicked me for flooding in a timespan of 4 lines in 15 seconds. Maybe he was stupid or drunk or both. Does anyone have any help to give. So far although there have been some majorly rude and misguided people Julie2, Kazuki and mERK there have been a couple who decided to help. They know who they are and I want to say a thanks to them.

I have had some websites provided which is nice as well but I still would like some more.

#72631 27/02/04 05:58 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Firstly
Quote:
mErk kicked me for flooding in a timespan of 4 lines in 15 seconds

..this is probably their script.

Secondly There is a program that it alright ( not hte best but alright) for learning how to make dialog box's.
It used to be avaliable at:
http://www.mircscripts.org/dstudio/
..but the link seems to now be unavaliable.
Although if anyone knows where to get it. or even a better newer program that works better. Please post it, as it might be easier for liam2maps to learn to use dialogs.

Thirdly
You are probably after the following:
Code:
 
  combo 1, 20 30 60 50, size drop
 

"combo" makes it a "combo box" the "drop" makes it a "drop down" combo box. which i believe is what you are after
for more info on this. its in /help /dialog
now to add lines to it you will need to goto /help /$read and read about reading files. aswell as read up on the /did command /help /did

now using:
The /did command
/did -ftebvhnmcukradiogj name id [n] [text | filename]

with these flags: (selecting the one needed)
-r clear all text in id
-a add line of text to end
-d delete Nth line
-i insert text at Nth line
-o overwrite Nth line with text
should do the trick

#72632 28/02/04 01:17 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Hey Jae thanks for helping me. Nice to see some help here. I am making some progress. This is more of a learning experience more than anything.

#72633 28/02/04 02:46 PM
Joined: Dec 2003
Posts: 33
M
Man Offline
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2003
Posts: 33
The link should work in a few days. The server that mircscripts.org was on has a severe hardware collapse, and lost all the files. Fortunatly there is a back up from about a month ago which should be loaded up onto a new server soon.

#72634 02/03/04 05:23 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Here's a really simple example, shows you the basics. Change file.txt to the real filename and type "/xmp3x"
Code:
alias xmp3x dialog -m xmp3x xmp3x
dialog xMP3x {
  title mp3
  option dbu
  size -1 -1 200 50
  combo 1, 5 5 190 100,size drop hsbar vsbar
  button "Play" 2, 50 26 40 15
  button "OK" 3, 100 26 40 15,ok
}
on *:DIALOG:xMP3x:init:0:{
  filter -fo [color:blue]file.txt[/color] xMP3x 1 *.mp3
  did -z xMP3x 1
}
on *:DIALOG:xMP3x:sclick:2:{
  splay $$did(1)
}


Link Copied to Clipboard