Nerd

Nerd

Joined
Feb 28, 2006
Location
Germany
Website
Interests
guess what

Activity Stream

Nerd commented on a Page, /tbg  -  Mar 03, 2006

there we have the problem, i had \",\" in the first filename :S
gonna try it later with a fixed filename :)

 Respond  
Nerd commented on a Page, $reverse  -  Mar 03, 2006

hmm looks very similar to the snippet a friend of mine made
alias reverse {
var %o = $len($1-),%i
while (%o) {
%i = $+(%i,$replace($mid($1-,%o,1),$chr(32),$chr(160)))
dec %o
}
if ($isid) return %i
else say %i
}
therefore i think it works ;)

 Respond  
Nerd commented on a Page, /tbg  -  Mar 03, 2006

alright looked at the wrong language :P
but still not working

 Respond  
Nerd commented on a Page, /tbg  -  Mar 03, 2006

what is it doing? if it\'s working o_o
the notes don\'t tell much

 Respond  
Nerd commented on a Page, /prog a little picwin progressbar  -  Mar 02, 2006

thx :)

 Respond  
Nerd commented on a Page, $rand() addition.  -  Mar 02, 2006

DarthReven: $rand does work with letters but infact it always returns a single letter, even if you use $rand(aaa,zzz)
that\'s what this snippet is supposed to fix

 Respond  
Nerd commented on a Page, /prog a little picwin progressbar  -  Mar 02, 2006

here a little example how the progressbar looks literary \"in progress\":
alias testprog {
var %y 1, %max $findfile(C:\,.,0,2)
while (%y <= %max) {
echo -s File %y $+ : $findfile(C:\,.,%y,2)
prog $round($calc( %y * (100 / %max )),0)
inc %y
}
.timer 1 1 prog -c
}

 Respond  
Nerd created a Page  -  Mar 02, 2006
141 

alright another snippet :) Usage: /prog percent where percent is a number between 0-100 (no decimal numbers with "." in it) It creates a small window with a progressbar drawn with the standart commands for a picwin that displays the current progress to close the window again use /prog -c if you don't like the colors: you can easily change them by changin the $rgb() identifiers in the snippet i'll..

Nerd commented on a Page, Auto Join Channels  -  Mar 02, 2006

errr well
was that \"uh huh\" like in \"uh huh you got that wrong... stupido\"
or like in \"uh huh i agree\"? :P

 Respond  
Nerd commented on a Page, Auto Join Channels  -  Mar 02, 2006

alright wait a sec...
i might misunderstand the sense of this snippet but...
isn\'t \"Perform\" the same?
you go there, select a network and add whatever you want to do when you connect to this network e.g.
/join #channel1
/join #channel2
/echo -a i connected to $network
also auth commands or other login stuff...
and the snippet will auto-join channels when you connect to a specific server (i don\'t know if that\'s a good idea... i mean there are lot of servers that belong to the same network, still the snippet is only going to join the channels if you are on ONE specific server of this network..)
i might got it wrong, but i\'m fairly sure Perform has the same functions and way more of them... therefore i really don\'t see a use for such a snippet...
maybe someone can tell me if i got that wrong..

 Respond  
Nerd commented on a Page, $furl() .is URL Identifier  -  Mar 01, 2006

oh yes just btw, there\'s a bug in my snippet that prevents ports to be displayed properly... that\'s because i was a bit in a hurry as i extracted it from the actual theme engine...
\"var %url.spec $2\" is meant to be \"var %url.spec $deltok(%store1,1,58)\"

 Respond  
Nerd commented on a Page, $furl() .is URL Identifier  -  Mar 01, 2006

well unsafe characters should be encoded in the url
i guess every browser WILL encode them when you go browse the address
easiest example is \" \" no, urls with spaces are not valid still if you type them into firefox he will go to the url, replacing \" \" with the encoded \"%20\"
still i can\'t go and say \"http://whateveraddress.com/bla bla.htm\" is a valid url when writing an identifier for it
if i type \"google.com\" in my browser it infact WILL connect me to the site and not say this is no valid url
but then you would have to display almost everything with just a \".\" in it as an url in mirc...
whatever the RFC says there are no special characters allowed (like whatever) but you CAN go and get yourself a domain that includes such characters and will redirect to another url...
i can even type a plain \"blah\" in my firefox addressbar and when i hit enter it will direct me to the first search result for \"blah\", still \"blah\" is no url
my mirc is no browser, it can\'t care about all that when trying to find an url in a text...
i could just go and make a hotlink for \"*\" that would perform \"/url -an $1\" i\'m using firefox so 95% of the times i click a word i would come to a homepage... but that\'s not really reasonable, is it?
i had to set priorities and so this snippet was created
and for the registered protocols... it\'s hard to say what\'s registered and what not... of course ftp http gopher mailto https are registered... but as soon as you install mirc \"irc\" will be a registered protocol for you to, same with ATC or teamspeak or whatever... that\'s why i see every protocol that could exist as a protocol that\'s worth highlighting it

 Respond  
Nerd commented on a Page, $getformat()  -  Mar 01, 2006

good to know ;)

 Respond  
Nerd commented on a Page, $furl() .is URL Identifier  -  Feb 28, 2006

also Sigh_s snippet colors url that are no valid urls
like www.site.com/#test#test
and not colors urls that can be valid
like http1://www.site.com
so i don\'t think thats the better solution...

 Respond  
Nerd commented on a Page, $getformat()  -  Feb 28, 2006

punctuation?
i tried wraps but they got deleted :X

 Respond  
Nerd created a Page  -  Feb 28, 2006
294 

so... there we go, second snippet :)

Nerd created a Page  -  Feb 28, 2006
16 

well... yea... my first snippet i post here :) Usage: $getformat(TEXT) $getformat will return the last active codes in TEXT if u want to keep the format codes of a text even if you have to wrap the code to fit into a window with $wrap for example hard to explain, so here's an example: Text: 3,4this is a colored text with bold underline and reverse codes in it now you have to split the text after "reverse"..

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.