Home
Explore
Apps
Scripts
Code Snippets
Hardware
Images
Home
Explore
Apps
Scripts
Code Snippets
Hardware
Images
Sign up to Hawkee
Sign in
Comments
(680)
Everything
Snippets
Images
Hardware
sunslayer
commented on mIRC Snippet:
2 in 1 - Tinyurl and !d (google define) sockets
-
Feb 09, 2011
Quote
by the way, the POST method its just a preference, cause u can catch the same information by GET
for this site it may be so but in reality they are 2 completely different methods
sunslayer
commented on mIRC Snippet:
snippet packet
-
Feb 08, 2011
touché jaytea
sunslayer
commented on mIRC Snippet:
Hidden Mod
-
Feb 08, 2011
it works the same but if $3 !ison #, then your doing the same thing as
Code
if (blah) { }
making the entire statement unnecessary and in older versions of mIRC would cause the code to fail
sunslayer
commented on mIRC Snippet:
Hidden Mod
-
Feb 08, 2011
speed is rarely an issue in msl, but $iif() can return $null giving you an empty command
sunslayer
commented on mIRC Snippet:
snippet packet
-
Feb 08, 2011
Jethro_, if you use $$2 then there is no need for $$1 because if $2 then there must be $1.
Code
if ($$1 isnum 0-9) || ($$1 !isnum) {
can be rewritten as
Code
if ($$1 isnum 0-9 || $1 !isnum) {
because if !$1 then it would have been halted by $v1
sunslayer
commented on mIRC Snippet:
8ball
-
Feb 07, 2011
perhaps look into using $read(), or using if-elseif-else
sunslayer
commented on mIRC Snippet:
Hidden Mod
-
Feb 07, 2011
theres no need for $iif()
Code
if ($istok(kick boot,$2,32) && $3 ison #) { kick # $3 Blame $nick }
sunslayer
commented on mIRC Snippet:
snippet packet
-
Feb 07, 2011
you only need one $$N per alias
sunslayer
commented on mIRC Snippet:
funny ACTION reply
-
Feb 07, 2011
Quote
Perfect codes don't exist
Code
alias perfect return 1 while ($perfect) { echo Perfect codes do exist }
sunslayer
commented on Python Snippet:
Quiz
-
Feb 02, 2011
thanks, :)
sunslayer
commented on mIRC Snippet:
Facts
-
Feb 02, 2011
@napa182
Code
$facts.useless(#)
should be
Code
/facts.useless #
because $ makes it parse as an identifier leaving an empty command since the alias doesn't return anything
sunslayer
commented on mIRC Snippet:
Facts
-
Feb 02, 2011
in the sockread/sockclose events i would recommend using
Code
/tokenize 32 $sock($sockname).mark
then instead of using $gettok($sock($sockname).mark,1,32) you can do $1 and so on
sunslayer
commented on mIRC Snippet:
tcp/ip
-
Feb 01, 2011
Quote
why the hell jack a snippet, remove the name of the author
he never claimed this snippet to be his, nor did he
Quote
remove the name of the author
sunslayer
commented on mIRC Snippet:
Alias away
-
Jan 31, 2011
Quote
mIRC will just keep calling the alias rather than the internal command
It's not completely necessary since mIRC doesn't allow the use of recursive aliases anymore
sunslayer
commented on mIRC Snippet:
Pro Slap!
-
Jan 30, 2011
I'm not telling you to be more like me, I'm just saying that __Dean__ made no attempt to criticize the author or you and personally I'm getting tired of all the ranting comments recently.
sunslayer
commented on mIRC Snippet:
mAway - Multi Network Basic Away
-
Jan 30, 2011
@MoshMage
www.regular-expressions.info
does a pretty good job of explaining regex
sunslayer
commented on mIRC Snippet:
Pro Slap!
-
Jan 30, 2011
Quote
He didn't ask for an edit, did he?
how many times have people done that? your just picking out little things to start fighting over...
sunslayer
commented on mIRC Snippet:
RuneScape Slayer Dialog
-
Jan 28, 2011
Code
alias slayerd slayd alias slayerdialog slayd alias slaydialog slayd alias sd slayd alias sdialog slayd alias slayerlog slayd
theres no need to use that many aliases
sunslayer
commented on mIRC Snippet:
rootSektor - Auto Oper
-
Jan 27, 2011
@_allen $writeini is an identifier (non-existing one albeit), /writeini is a command
sunslayer
commented on mIRC Snippet:
kill kline dot command
-
Jan 24, 2011
preference really, imo it makes the code look cleaner
sunslayer
commented on mIRC Snippet:
kill kline dot command
-
Jan 24, 2011
that may be so, but if they change the command character _Teen_'s example won't halt
sunslayer
commented on mIRC Snippet:
YouTube Now Playing
-
Jan 24, 2011
@BiohazardGR, chrome doesn't support DDE
sunslayer
commented on mIRC Snippet:
Color Changer
-
Jan 24, 2011
@Tanaka9109
http://www.hawkee.com/snippet/7691/
sunslayer
commented on mIRC Snippet:
kill kline dot command
-
Jan 23, 2011
Code
if ($readini(mirc.ini,text,commandchar) == $left($$1,1)) { ... }
is safer then assuming that the command character is /
sunslayer
commented on PHP Snippet:
Feedback/Contact Email Form
-
Jan 23, 2011
@J2011 add
Code
<style>form,input{color:grey;}</style>
sunslayer
commented on PHP Snippet:
Truncation
-
Jan 20, 2011
Code
unset($n[$count($n)-1]);
should be
Code
unset($n[count($n)-1]);
you also have two ;'s on the following line
also if there are no spaces then this will only return '...'
Code
if(count($n)>1) unset($n[count($n)-1]);
sunslayer
commented on Java Snippet:
Java IRC bot
-
Jan 18, 2011
it doesn't look like there are any built in commands, you'd have to make your own.
sunslayer
commented on mIRC Snippet:
mIRC Arrays v3
-
Jan 17, 2011
hmm, i didn't know about those types of comments.
sunslayer
commented on mIRC Snippet:
mIRC Arrays v3
-
Jan 16, 2011
interesting approach mSLChampagne, but your comments are quite annoying and should be prefixed with a ;
sunslayer
commented on mIRC Snippet:
Dark Wolf killer
-
Jan 16, 2011
@koolaidman paste the code in your remotes section
@Jethro_ me is a command and shouldn't be changed
however, darkkupid you go from one full stop to three skipping two
Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Next
sunslayer
Follow
Message
Profile
Scripts
3
Snippets
31
Images
7
Comments
680
Forum Posts
39
10 Following
View all
12 Followers
View all
Quote