Top

Comments

  (7)  RSS
IzNoGuD's
RagBot
Comments: 34
 
mIRC Snippet:  backwards speech
Posted on May 31, 2008 9:03 am
lol this is fun to mess with people\'s minds :). This is a great and fun script, i\'m giving it a 10/10. Keep it up, lol.
dmdifiore
Comments: 8
 
mIRC Snippet:  backwards speech
Posted on Mar 10, 2008 9:02 am
alias reverse { msg $active $regsubex($1-,/(.)/g,$mid(\\A,-\\n,1)) }

Had this in my alias section for a while now. This was made by one of my friends while working on a mimic script.
SyntaxIRC
Comments: 37
 
mIRC Snippet:  backwards speech
Posted on Mar 8, 2008 4:02 am
Mhm;

Code:
backwards {
  var %x = 1
  while %x <= $len($1-) {
    var %bkw = $+($iif($mid($1-,%x,1) == $chr(32),[\\^/],$v1),%bkw)
    inc %x
  }
  return $replace(%bkw,[\\^/],$chr(32))
}


:)
xDaeMoN
Comments: 696
 
mIRC Snippet:  backwards speech
Posted on Mar 8, 2008 2:22 am
You can just 1 while loop, then work your way from the end to the beginning with $mid. :)
Roy911
Comments: 16
 
mIRC Snippet:  Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 4:08 pm
Actually, I personally use the following, feel free to post:

alias gmsg { scon -at1 amsg $1- }
alias gme { scon -at1 ame $1- }

(Test it btw, I just typed it up on a whim.)
IzNoGuD
Comments: 1
 
mIRC Snippet:  Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 4:01 pm
Thanks on suggestion Roy911, haven\'t notice that problem .
I\'ve added network check and tested it, works good even with opened, not connected server windows :D
Roy911
Comments: 16
 
mIRC Snippet:  Global ame and amsg (for multi servers)
Posted on Mar 7, 2008 3:34 pm
Okay, but just note that since $scid(0) counts only opened serv er windows, any server windows you have open that aren\'t connected result in an error and halts the script. I know that since I used to use a similar method to what you have.

Therefore, I recommend you add some sort of checking to the script like if ($network != $null) { amsg } or something of that sort.
Bottom