Sigh_

Sigh_

Joined
Sep 17, 2004

Activity Stream

Sigh_ commented on a Page, 1337  -  Dec 11, 2005

Perhaps you mean $xor(%leet,1) which turns 0 to 1, 1 to 0. In case %leet = $null you can use $xor(%leet 0,1) to turn $null and 0 to 1, and again 1 to 0

 Respond  
Sigh_ created a Page  -  Oct 02, 2005
134 

Made this for a scripting challenge a while ago, quite useless since mIRC has its own $md5. Usage: $sigh_md5(string)

Sigh_ commented on a Page, /go  -  Jul 30, 2005

Another thing to note is that a user may want to join a channel with a prefix other than #, such as &chan (local channels on most networks). $chantypes will return a list of supported chan prefixes

 Respond  
Sigh_ commented on a Page, /go  -  Jul 30, 2005

$1 will prefix $1 with # if it isn\'t already a channel name

 Respond  
Sigh_ created a Page  -  Jun 18, 2005
46 

;; Not strictly a token identifier as the name would suggest ;; It generates a list of output from a specific identifier which accepts an N parameter ;; ;; Usage: $fulltok(name,C,params[,params...])[.prop] ;; ;; For example: $fulltok(nick,44,#mirc) ;; Will call $nick(#mirc,N) to retrieve all nicknames and put them in a comma delimited list ;; ;; $fulltok(fline,32,#chan,word) ;; Calls $fline(#chan,word,N)..

Sigh_ commented on a Page, Multiple Server AME  -  Apr 04, 2005

Not quite, /scon re-evaluates its parameters (similar to a timer) so that if you typed \"/aame text | more text\" the \'more text\' would be interpreted as a command. On the right track though, something like alias aame { set -ln %a $1- | scon -at1 ame % $+ a } would do

 Respond  
Sigh_ commented on a Page, Alternative Random  -  Apr 01, 2005

Not bad but since the only variable quantity here is $ticks, doing //echo -a $randa(1,10) $randa(1,10) $randa(1,10) will always yield the same random numbers

 Respond  
Sigh_ created a Page  -  Dec 28, 2004
515 

;; Random $replace by Sigh_ ;; ;; Like $replace but replaces a random number of matched substrings ;; Usage: same as $replace i.e. $randreplace(string,substring,newstring,...) ;; ;; For example, $randreplace(abcabcabc,a,x,b,y,c,z) ;; Randomly replaces a with x, b with y and c with z ;; ;; Use the .cs property for case sensitivity -- $randreplace().cs

  1 Thread   mIRC  
Sigh_ created a Page  -  Dec 26, 2004
100 

;; Solution to cubic equations by Sigh_ ;; ;; Solves equations of the type ax^3 + bx^2 +cx + d = 0 (a != 0) ;; ;; Usage: ;; $cubic(a,b,c,d) ;; or ;; /cubic a b c d

Sigh_ commented on a Page, Calculator  -  Dec 23, 2004

Covers everything? How about modulo, exponents and parentheses for complex operations? alias calculate { echo -a Answer: $calc($1-) } - raYmad, good work, fun alias

 Respond  
Sigh_ created a Page  -  Dec 16, 2004
322 

; Simple picture window script that allows you to simulate the motion ; of a projectile at varying angles/speeds acting under conditions ; similar to those encountered in real life ; ; Copy the code into Remotes and type /cannon to start it. ; The rest should be quite self explanatory, you start it moving by ; pressing "project", pause it at any time with "pause", and reset it ; to the beginning..

Sigh_ created a Page  -  Dec 14, 2004
377 

; Colors URLs in all outgoing/incoming channel and query messages the ; 'traditional' blue color, along with underlining ; Place the code in Remotes ; If you want to override the URL styling at any time hold the Ctrl key while ; pressing enter (or press ctrl+J)

Sigh_ created a Page  -  Nov 12, 2004
49 

; $_iswm by Sigh ; Lets you escape characters when performing a wildmatch ; Usage: $_iswm(string,match1,match2,...,matchN) ; Returns $true if any of the matches given is a wildmatch of the string ; Characters are escaped with a backslash character \ ; For example, to check if "ab" exists anywhere in $1- you could use if ($_iswm($1-,*a*b))

  1 Thread   mIRC  
Sigh_ commented on a Page, GAME: Shiffre  -  Oct 22, 2004

Good work, note you can use /hinc to increase and /hdec to decrease a hash table item

 Respond  
Sigh_ commented on a Page, GAME: Shiffre  -  Oct 22, 2004

You deal with an INI file with only 1 section, why don\'t you use a hash table for this type of data structure? It\'s a more appropriate method of storage since hash tables are cached in volatile memory, has increase/decrease functions which you use quite a bit and are faster to access

 Respond  
Sigh_ commented on a Page, On Protect/DeProtect Event  -  Oct 19, 2004

Good idea, but it would be more accurate to check each mode set against $chanmodes which returns the channel modes supported by the network. The first 3 comma delimited tokens are modes which take a parameter

 Respond  
Sigh_ created a Page  -  Oct 13, 2004
198 

Remove repeats alias by Sigh Usage: $remrpt(string,C) Lets you remove repeated tokens from a string For example: $remrpt(a b c a a b d,32) = a b c d

 Respond   mIRC  
Sigh_ commented on a Page, Random String  -  Oct 08, 2004

A good idea, only thing I\'d fault is the use of checking if ($1) && ($2) && ($3) to make sure 3 parameters were specified. It fails if I want to choose 0 as the beginning of a range, i.e. $rs(10,0,9) to get 10 random numbers since if (0) is false. A better method to check 3 parameters have been supplied is to see if ($0 = 3) where $0 returns the number of params passed to the alias

 Respond  
Sigh_ commented on a Page, [A] - Script line calculator (V1.0B#2004)  -  Oct 06, 2004

You can use a $findfile loop for iterations involving operations on each file returned by $findfile, so as an example: //var %x | .echo -q $findfile($mircdir,*.mrc,0,inc -s %x $file($1-)) | echo -a %x - also note that /var creates a local variable, one that terminates at the end of the running process, to avoid setting/unsetting global variables

 Respond  
Sigh_ commented on a Page, Dice rolling script  -  Sep 22, 2004

You can use $str to generate N amount of dice with F number of faces, the results separated with a space: $($str($!r(1,F) $chr(32),N),2) - in this case you\'d replace F with 6 and N with $2

 Respond  
Sigh_ created a Page  -  Sep 17, 2004

Regex Buddy by Sigh_ (http://xi.ma.cx) Usage: /rbuddy

Sigh_ created a Page  -  Sep 17, 2004
71 

Extended base conversion by Sigh (http://xi.ma.cx) Allows conversions between any base of any given number system

 Respond   mIRC  
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.