Comments

 (680) 
  1. Everything
  2. Snippets
  3. Images
  4. Hardware
sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 16, 2011

Quote

No Problem at all this is an open source code site, that someone can actually fix someones else code and suggest him or show him his code
sunslayer commented on mIRC Snippet: mIRC Syntax Highlighter for Notepad++  -  Jan 15, 2011
it seems to work fine for me
sunslayer commented on mIRC Snippet: Not Another Pass Gen  -  Jan 13, 2011
you can't call it "good" or "bad" as the sole purpose of $rand is to return a random number and by definition, while highly unlikely, $rand(1,100) could be the same number several times over
sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 13, 2011
its used when you don't want to return any extraneous data, i.e.
if you use /echo $regex(aa,/(.)/g) it would echo a 2 in your window which is generally not want you want so you use noop $regex(aa,/(.)/g) to stop it from returning a value.

its similar to
var %variable = $regex(aa,/(.)/g) so you could perform a regex match without having to echo anything
sunslayer commented on mIRC Snippet: Pastecode  -  Jan 13, 2011
setting %i is unnecessary as you can use

Code

 

sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 13, 2011
@Prolcons, the noop command stands for "no operation" in that it does nothing

/noop $regex(blah...) will evaluate $regex but will do nothing else, whereas /echo $regex(blah...) would evaluate $regex and then echo the result
sunslayer commented on mIRC Snippet: Not Another Pass Gen  -  Jan 12, 2011
those who take it upon themselves to post such utterly retarded snippets such as this.
sunslayer commented on mIRC Snippet: Not Another Pass Gen  -  Jan 12, 2011
some people may actually be completely retarded.

congratulations.
sunslayer commented on mIRC Snippet: Cookies class  -  Jan 12, 2011
thanks
sunslayer commented on mIRC Snippet: mIRC Objects  -  Jan 12, 2011
thanks
sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 11, 2011
not meaning to hi-jack your post but here's my method of using arrays, supports multi-dimensional arrays, and multi-type keys(int or string)

Code

 

syntax:
$array(<array>) ; creates the array
$array(<array>,index,data).set() ; sets data
$array(<array>,index).get() ; retrieves data

examples:
$array(test)
$array(test,1,this is stored in index 1).set()
$array(test,2,1,this is stored in index 2[1]).set()
$array(test,1).get() returns "this is stored in index 1"
$array(test,2,1).get() returns "this is stored in index 2[1]"
$array(test,4).get() returns $null
sunslayer commented on Snippet: Basic "Hello World" Snippet ; Not For Use Purposes  -  Jan 11, 2011
imo atleast its not mirc, in the last week there have been like 3 or 4 different pass gens. ripped or not diversity is nice...
sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 11, 2011
it still holds the same concept, ive updated my OOP snippet 3 times, all with diverse changes, this still does not give reason to post a new snippet
sunslayer commented on mIRC Snippet: mIRC Arrays v3  -  Jan 11, 2011
even if the code is completely different it still has the same concept.

instead of having $<array> you should keep it all in one alias, i.e. $array(<name>,<index>[,<index>]) that way you don't run the chance that an alias will be overridden
sunslayer commented on mIRC Snippet: mIRC Arrays v2  -  Jan 11, 2011
using $<array> seems unsafe as it's possible that you could overwrite existing aliases
sunslayer commented on mIRC Snippet: mIRC Arrays v2  -  Jan 10, 2011
I'm confused about your syntax on how to create an array

in $save_array if $1 == 1 you dont set anything

i also dont understand how your supposed to retrieve data as if you had an array "example" then according to your description you are to use $example(index); I'm not seeing how you accomplish that

for your $chk if i understood what you were trying to do you can use

Code

 
where \1 = array, \2 = index, \3 = values
i don't understand what a represents so i left it as a constant
sunslayer commented on mIRC Snippet: Script Loader  -  Jan 09, 2011
what theme is that in your screen shot?
sunslayer commented on mIRC Snippet: Super Definiton Script  -  Jan 09, 2011
you don't include $nohtml in the snippet
sunslayer commented on mIRC Snippet: Away Snippet  -  Jan 09, 2011
@phil24

Code

 
should be

Code

 
however the halt's aren't necessary as you could just remove the entire if statement
sunslayer commented on mIRC Snippet: mIRC Objects  -  Jan 09, 2011
thanks
sunslayer commented on mIRC Snippet: YouTube URL "Detector" (v.8)  -  Jan 08, 2011
@KillerX youtube's source is changed so often its difficult to keep up with it
sunslayer commented on mIRC Snippet: another itunes script with no crappy dialog  -  Jan 08, 2011
i hadn't really payed attention to the actual code i just edited KillerX's version, but thanks
sunslayer commented on mIRC Snippet: another itunes script with no crappy dialog  -  Jan 08, 2011

Code

 
i still don't see the purpose in puttin this on a bot
sunslayer commented on mIRC Snippet: mIRC Objects  -  Jan 08, 2011
thanks, haven't seen you around in a while Typo
sunslayer commented on mIRC Snippet: another itunes script with no crappy dialog  -  Jan 08, 2011
this snippet isn't intended to be used for a bot.
sunslayer commented on mIRC Snippet: mIRC Syntax Highlighter for Notepad++  -  Jan 08, 2011
@k3rb3r05 very worthy bump...
i didn't even realize anything like that was even possible
sunslayer commented on mIRC Snippet: !feed - RSS reader for your Bot  -  Jan 08, 2011
you left commented-out while in $feed.html, and when you have repetitive code like

Code

 
you can shorten it by setting the cmd as a var and just referencing the var, i.e.

Code

 
but thats just so you don't have to type as much.

you only need one -m tag in your hadd's as the table would have been created by the first

rest looks good though.
sunslayer commented on mIRC Snippet: mIRC Objects  -  Jan 07, 2011
added more functionality to basic routines:

$class($time).date will fill property 'date' with $time
$class().date will return the respective data, or $null if empty

$class.function_name.PRIVATE declares method function_name as private making it inaccessible unless used inside the main alias
sunslayer commented on mIRC Snippet: Auto-oper with Var arrays  -  Jan 06, 2011
it will work, all the []'s cancel out
sunslayer commented on mIRC Snippet: Random FML Script  -  Jan 06, 2011
http://www.hawkee.com/snippet/6377/#c58744 he most likely forgot to re-add after an update
  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.