Top

Comments

  (61)  RSS
Ghost-lit Warder's
Roy_
Comments: 12
 
mIRC Snippet:  auto-add functions
Posted on Oct 1, 2007 9:40 pm
This snippet seems to be divided in three different sections. If you wanted to give a user a voice and a greet, you could. There is an auto-act section and an auto-greet section. So you could technically do what you are asking. This snippet isn't all to great. You might as well use hash tables for all the data. And why create a separate text file just for the use of dialog? I think $ini would work for that, I'm not too sure, but it should. /help $ini. There are a few error checking bits you are missing. In your add nick alias, you forget to include an if ($1 && $2) to check if the user actually typed the strings. If I forgot to add the second, it would add it to the text & ini file. You also forget to check if the dialog name is in use when you type the command to open the dialog. Try adding an if ($dialog(nicksview)). And how about adding an edit option? It seems a bit of work to delete and then type the parameters. Nice concept, but not really good coding.

--Roy
mountaindew
Comments: 1,422
 
mIRC Snippet:  auto-add functions
Posted on Oct 1, 2007 8:30 pm
*[hop]
mountaindew
Comments: 1,422
 
mIRC Snippet:  auto-add functions
Posted on Oct 1, 2007 8:30 pm
what if u wanted to give them a greet and a voice?

u should set it up like

[voice]
ghost=yes
mountaindew=yes
[ho]
mountaindew=yes

just a suggestion
Akishoot
Comments: 134
 
mIRC Snippet:  Mp3 Player
Posted on Sep 24, 2007 2:16 pm
@ fusion2000 - Type /mp3 to open the dialog. Click on the 'Choose:' button on the dialog to find a song. Then press the play button. :)
Akishoot
Comments: 134
 
mIRC Snippet:  Mp3 Player
Posted on Sep 24, 2007 5:48 am
Under the alias mp3.length you should fix this line:
Code:

  set %mp3.len %mp3.min $+: $+ %mp3.sec


To:

Code:

  set %mp3.len %mp3.min $+ : $+ %mp3.sec


The $+ touching the : is causing the numbers to come out like: 0132, when you first Choose a song. Other then that it's a decent player. =)
fusion2000
Comments: 3
 
mIRC Snippet:  Mp3 Player
Posted on Sep 22, 2007 2:09 pm
I'm new to this so don't make funn of me >.>

How do i add songs to it???
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  acronyms/word replacer
Posted on Sep 21, 2007 2:31 pm
Fixed.
mountaindew
Comments: 1,422
 
mIRC Snippet:  acronyms/word replacer
Posted on Sep 21, 2007 2:07 pm
yea and shuoldnt
Code:
var %i = $read(%z,%a)
be
Code:
var %i = $read(%a,%z)
token
Comments: 24
 
mIRC Snippet:  acronyms/word replacer
Posted on Sep 21, 2007 1:25 pm
why is it inc %tmp? it should be inc %z
Gummo
Comments: 100
 
mIRC Snippet:  acronyms/word replacer
Posted on Sep 21, 2007 9:06 am
You should check if $1 and $2 exist first.
Code:
if ($2) {
Scakk
Comments: 181
 
mIRC Snippet:  Mp3 Player
Posted on Sep 5, 2007 3:18 am
Perhaps add a button that can let you delete or add certain songs instead of your entire music directory. I have over 1700 songs.
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mp3 Player
Posted on Sep 4, 2007 9:49 pm
Everything seems to be working fine.. I've tried it with multiple circumstances and everything performed as expected.. I fixed the error of the /player.
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:45 pm
*multiple nicks of the same letters in the beginning
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:45 pm
Type some letters of a nick on the channel, type tab to finish the rest of the nick. It might malfunction with multiple nicks on the channel but it is pretty useful.
mountaindew
Comments: 1,422
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:44 pm
wow, i never realized there was a tab feature :P
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:42 pm
You can edit it anyway you want really. I could make an alias giving the option to set designs and configuration but I am doing other things right now. This was just a simple code I made a while back. >_>
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:41 pm
hence why they have the tab feature. ;)
mountaindew
Comments: 1,422
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:38 pm
so all it does is add a colon?

anyways, it would say

nick: nick blah blah blah

so wouldnt u have to change it to

msg $active $1 $+ : $2- | halt

also, id rather use other nick completers that when u type a few letters, it finishes the nick...

mountaindew
Comments: 1,422
 
mIRC Snippet:  A Nick completer
Posted on Sep 4, 2007 8:28 pm
dont u have to do if($left($1-,1) != /)
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Mp3 Player
Posted on Sep 4, 2007 4:52 pm
Alright, I'll work on the bugs and most likely redesign the dialog. I will add the option to seek as well. Thank you Lindrian.
1 2 3 4 Next
Bottom