Comments

 (680) 
  1. Everything
  2. Snippets
  3. Images
  4. Hardware
sunslayer commented on mIRC Snippet: mIRC Objects  -  Jan 06, 2011
example demonstrating its use in sockets to retrieve the title of a web page

Code

 


usage: /socket_example www.google.com
sunslayer commented on mIRC Snippet: Google Calculator  -  Jan 05, 2011

Quote

Again, I'm not saying google calculator is the best, but it surely can do more that mIRC's $calc() can't
sunslayer commented on mIRC Snippet: xop on off perm ops  -  Jan 05, 2011
that really depends on preference, I'd rather just right click on a person as opposed to opening a dialog
sunslayer commented on mIRC Snippet: Mkpass v 0.2  -  Jan 04, 2011
$r is the same thing as $rand so it should have worked and you should have updated your old code instead of posting a new snippet

you also have a bracket mismatch, line 3 needs a { at the end

this could also be shortened alot by using $str
sunslayer commented on mIRC Snippet: xop on off perm ops  -  Jan 04, 2011
just because it doesn't go in remotes doesn't mean it isn't a snippet
sunslayer commented on mIRC Snippet: xop on off perm ops  -  Jan 04, 2011
@phil24 how is this not a "real script"?
sunslayer commented on mIRC Snippet: Password Generator  -  Jan 04, 2011
@Jethro_ in the original code the optional $2 is the length
sunslayer commented on mIRC Snippet: Password Generator  -  Jan 03, 2011

Quote

i hope that no one come here using the same $regsubex way to do a password...
cause everytime someone post a pass generator, someone post it
posting different ways to make a snippet is not only encouraged but also the purpose of this site.

so here it is...

Code

 
sunslayer commented on mIRC Script: LimePlayer 5.3 MP3 Player  -  Dec 30, 2010
this doesn't work for me on Win7

when i try to play music i get

Quote

* /splay: invalid parameters (line 495, limeplayer.mrc)
and when i try to play a video mIRC crashes
sunslayer commented on mIRC Script: LimePlayer 5.3 MP3 Player  -  Dec 30, 2010
"we" could also have meant lllogicTC and ^WeSt
sunslayer commented on C++ Snippet: Ultima Dice 1.0  -  Dec 29, 2010
while it's not necessary time.h is a C header file, ctime would be the C++ header
sunslayer commented on mIRC Snippet: !math Calculator  -  Dec 29, 2010

Quote

http://es.wikipedia.org/wiki/Sistema_binario
any particular reason why you linked to a spanish page, lol?
sunslayer commented on mIRC Snippet: Google Calculator  -  Dec 26, 2010
you can improve your regex by using

Code

 
instead of

Code

 


better? :p
sunslayer commented on mIRC Snippet: Google Calculator  -  Dec 26, 2010
i didn't think adding -? would have been that hard lol
sunslayer commented on mIRC Snippet: Google Calculator  -  Dec 26, 2010
your regex will fail on !calc -3+4
sunslayer commented on Javascript Snippet: JQuery tooltip  -  Dec 26, 2010
updated the code you can use the this keyword in place of the text to use the default text that would normally be displayed e.g.

Code

 
and use

Code

 
sunslayer commented on mIRC Snippet: mIRC Arrays  -  Dec 26, 2010
/set %array[0][0] could be used to create an array but you wouldn't be able to do anything with it without first having something to parse it with

Quote

while our <N> value would ordinarily pass through a hash function to yield an integer
keys do not have to be integers as in associative arrays where the key can also be a string, however, in mIRC there is no difference between (int)1 and "1" because as you said, there is only one data type so any extra processing of the key value would have to be handled by mIRC and not by the coder

and even though it wouldn't offer much scripting wise, it would still benefit by acting as a starter for more powerful languages like C/C++ which understanding arrays is quite important
sunslayer commented on mIRC Snippet: mIRC Arrays  -  Dec 25, 2010
@jaytea for multi-dimensional arrays i could see how using variables would be "better" but for basic one dimensional arrays i don't see why you wouldn't use mIRC's built in hash functions which would be faster then variables and wouldn't require this snippet, which in all of his examples this would be the case

regardless actual array support would be something i'd like to see in mirc

edit: this snippet doesn't support multi-dimensional arrays, atleast not that i see from reading the code
sunslayer commented on Python Snippet: Python IRC basic framework  -  Dec 25, 2010
you should add a check to see if the connection is still active to break out of the loop
sunslayer commented on Python Snippet: Python IRC basic framework  -  Dec 24, 2010
i have absolutely no knowledge of Python so i may be wrong but won't the while loop continue even after you have been disconnected?
sunslayer commented on mIRC Snippet: mIRC Arrays  -  Dec 24, 2010
why not use hash tables instead of vars? they are the most similar to arrays
sunslayer commented on C++ Script: simple C print script  -  Dec 23, 2010
I'm not sure what compiler you are using but your code won't work with GCC, you don't have the main function and you don't call any headers
sunslayer commented on PHP Snippet: url navigation like index.php?id=1  -  Dec 21, 2010
@natar (assuming you've created the respective files)

Code

 
sunslayer commented on C++ Snippet: Periodic Table  -  Dec 21, 2010
this is ti-basic not C++
sunslayer commented on mIRC Snippet: password maker  -  Dec 19, 2010
that method works until you need to create passwords dynamically
sunslayer commented on mIRC Snippet: password maker  -  Dec 16, 2010
_Teen_ the purpose of this snippet was never explained so sayin that its for generating passwords for irc use is simply an assumption, and $r(a,z) will only return values a-z and not numbers
sunslayer commented on mIRC Snippet: password maker  -  Dec 16, 2010

Quote

about ur regex sunslayer, i need to remind, that for a ''password'' u need to use
that would not be regex, and there are no standards for password types so it doesn't matter what you use unless stated otherwise.
sunslayer commented on mIRC Snippet: password maker  -  Dec 16, 2010
why would you want to msg the chan your password?

Code

 
sunslayer commented on mIRC Snippet: Total mIRC uptime  -  Dec 14, 2010
/help $online
sunslayer commented on Java Snippet: Java Snake  -  Dec 14, 2010
@SunnyD press p to start the game
  1. Prev
  2. 1
  3. 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. 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.