mountaindew commented on mIRC Snippet: Pmblocker  -  Jul 18, 2008

Code

 

Once again I'd use var instead of set, no need for a global variable.

Maybe you could do some error checking. Something like "if ($address(%allow,0)) write pmer.ini $v1 blo 11"
mountaindew commented on mIRC Snippet: Calculator  -  Jul 18, 2008
Well you should have a closing one for every opening one. If someone put another snippet under yours, it wouldn't function properly ;)

Oh and also:

Code

 

You can combine switches, so you could make it:

Code

 
mountaindew commented on mIRC Snippet: Calculator  -  Jul 18, 2008
You sure this is your first script? Well if it is, great job learning dialogs this quickly.

Btw, you forgot a } at the end.
mountaindew commented on mIRC Snippet: Rban And ABAN  -  Jul 18, 2008
You should mention in the introduction that you need to give someone access of 4 or higher for them to use it. (/auser or /guser)
mountaindew commented on mIRC Snippet: Bleach RPG  -  Jul 17, 2008
This should go in the forum instead of code snippets.
mountaindew commented on mIRC Snippet: AnimeSpotBot  -  Jul 17, 2008

Code

 

I'm not sure if that works, but you can just use elseif.
mountaindew commented on mIRC Snippet: Channel list + total  -  Jul 17, 2008
Jamiie, I think you meant to say change "isop" but anyway, on @ checks if $me isop, not $nick.
mountaindew commented on mIRC Snippet: AnimeSpotBot  -  Jul 16, 2008
Nah it works with anything.

Mountain $+ Dew --> MountainDew
M $+ ountainDew --> MountainDew
$+([,MountainDew,]) --> [MountainDew]
mountaindew commented on mIRC Snippet: AnimeSpotBot  -  Jul 16, 2008
Rather than checking if ($chan == %chanset) a million times, I would just do something like:

Code

 

And btw, you can join two things by using $+

Code

 

If you do $nick $+ !", it'll join the two.
mountaindew commented on mIRC Snippet: Channel list + total  -  Jul 16, 2008
Instead of doing the number of channels + 1 thing, you can just notice after the while, like this:

Code

 

mountaindew commented on mIRC Snippet: Trivia  -  Jul 15, 2008
For the delimeter, it's the asc number of the character seperating the questions from the answers and possibly from the hints.

So with: What is my name?|___________|M__________|MountainDew

The character that seperates it is "|", so you would do "//echo -a $asc(|)" and it will return 124. So in this case, you would type 124 in the input box when it asks you.

And about it not starting, make sure you set a channel for the trivia, you can do it on the first page of the dialog. Also make sure it's in its own remotes file (file > new).
mountaindew commented on mIRC Snippet: Source viewer  -  Jul 11, 2008
You should upload a screen.
mountaindew commented on mIRC Snippet: Masshighlight!  -  Jul 11, 2008
oh damn, my bad >_<
mountaindew commented on mIRC Snippet: Masshighlight!  -  Jul 11, 2008
There's a bracket mismatch.
mountaindew commented on mIRC Snippet: Simple Caps Kicker (using regex)  -  Jul 10, 2008
There's a good tutorial here.
mountaindew commented on mIRC Snippet: Hello There  -  Jul 10, 2008
Well the %d variable holds "$chan"
mountaindew commented on mIRC Snippet: Hello There  -  Jul 10, 2008
Yea, same as any other variable
mountaindew commented on mIRC Snippet: Hello There  -  Jul 10, 2008

Code

 

You can do it all in one line, like

Code

 

Or you can make then %hi.a %hi.b %hi.c %hi.d and do unset %hi.*

Just a couple tips :)
mountaindew commented on mIRC Snippet: Runescape stats Script  -  Jul 10, 2008
This all goes in remotes.
mountaindew commented on mIRC Snippet: Ignore Script  -  Jul 09, 2008
Well I edited it before I saw Eugenio's comment
mountaindew commented on mIRC Snippet: Ignore Script  -  Jul 09, 2008
No, Eugenio didn't do anything wrong, I was just being retarded and didn't read the intro right, and I'm guessing he was commenting on my original comment.

mountaindew commented on mIRC Snippet: chuck norris fact snippet  -  Jul 09, 2008
$iif is kind of like an if and else combined

$iif(if statement,if true do this,if false do this)

//echo -a $iif(MountainDew == Anti,yes,no) --> no
//echo -a $iif(3 isnum 1-9,yup,no) --> yup
mountaindew commented on mIRC Snippet: chuck norris fact snippet  -  Jul 09, 2008
If some else types !chuck. On Text events are for other people, not yourself. If you would like you use it yourself, you would need to turn it into an alias or an on text event.
mountaindew commented on mIRC Snippet: Clonescanner  -  Jul 09, 2008
Nah, it's cool. I figured it was your IRC name or something when I saw it in all your other scripts :)
mountaindew commented on mIRC Snippet: Ignore Script  -  Jul 09, 2008
Edit: didn't read the second part

But you don't need the /g, use /i instead to make it incasesensative

And you don't need to backreference it.
mountaindew commented on mIRC Snippet: Trivia  -  Jul 09, 2008
Updated: When you would add a .txt with question|answer, it was just replacing letters with _ and not numbers also
mountaindew commented on mIRC Snippet: YouTube Video Searcher  -  Jul 09, 2008
Updated it a lil' bit, there was unneeded regex and I shortened a couple things up
mountaindew commented on mIRC Snippet: Clonescanner  -  Jul 09, 2008

Quote


echo -a Clonescanner by shoot - Scanning clones for channel %ialchan $+  

Ripped?

(The filter censored the name)

Edit: Eh, I guess not. I noticed that all your other scripts say that too, it's probably your IRC name or something...
mountaindew commented on mIRC Snippet: chuck norris fact snippet  -  Jul 08, 2008
What do you mean "upload"?
mountaindew commented on mIRC Snippet: chuck norris fact snippet  -  Jul 08, 2008

Code

 
  1. Prev
  2. 4
  3. 5
  4. 6
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. 14
  13. 15
  14. 16
  15. 17
  16. 18
  17. Next
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.