/paste (Replacing CTRL+V)

By xplo on May 16, 2008

this is easy, and cool to use, for scripters,

THIS WAS MADE BY SANITARIUM @ UNDERNET

i just think i should paste it here, its really cool,

load it in your remotes, and when you copy paste a code, type CTRL+C to copy and

DON'T press CTRL+V to paste, just type /paste and hit enter :)

have fun.

#This was made by Sanitarium on Undernet

alias paste {
  var %r1 = /($[^s(),x03]+)/g | var %r2 = /([()[]])/g | var %r3 = /([,:><=&|!])/g | var %r4 = /(%[^s(),x03]+)/g
  var %r5 = /([{}])/g | var %r6 = /(?:^|G)(s)/g | var %r7 = /(#[^s(),x03]*)/g
  var %loop = 1, %end = $cb(0)
  while (%loop <= %end) {
    say $regsubex($regsubex($regsubex($regsubex($regsubex($regsubex($regsubex($cb(%loop),%r1,031),%r2,121),%r3,071),%r4,101),%r5,131),%r6,1),%r7,041)
    inc %loop 1
  }
}

#My info: xplorer@live.ca - irc.undernet.org - #mircscripting

Comments

Sign in to comment.
Jamiie   -  May 17, 2008

Yeah jonesy, I was including hitting Enter :|

 Respond  
Jonesy44   -  May 16, 2008

i see it now lol

 Respond  
xplo   -  May 16, 2008

im sorry i didn\'t explain it in the comments, but all the identifiers are colored, so for you scripters when you need to explain something to someone, like this basic

on :TEXT:hi*:#:{
msg $chan Back at you.
}

the symbols will be in differents colors. i know it could be useless, but i myself use it to \"teach\" the basics. :p

 Respond  
RagBot   -  May 16, 2008

i normally right-click and paste, but this is a cool way to paste things and i much make a habit of it

 Respond  
SnoooP   -  May 16, 2008

hehe yeah :)

 Respond  
Jonesy44   -  May 16, 2008

Oh, nice.
That i did not know :P

I shall be putting it in with a /v command, thanks for letting us know MD

 Respond  
guest598594   -  May 16, 2008

I use this, it doesn\'t just paste things, it colors identifiers and stuff when you paste scripting stuff.

 Respond  
SnoooP   -  May 16, 2008

yeah same here lol... just sayin if i used the script alot more then ya /v is coolie beans lol.. but no use when ya pasting of a website or in notepad or w/e :P:P lol

 Respond  
Jonesy44   -  May 16, 2008

I\'d still use CTRL+V now.. habit :P

 Respond  
SnoooP   -  May 16, 2008

jst chg it to /v if ya that bothered about it lmao... :P i did anyhow it does imrpove it a little

 Respond  
Jonesy44   -  May 16, 2008

2, Jamiie, CTRL + V = 2 lol

 Respond  
Jamiie   -  May 16, 2008

To me this is uselss and more complicated than just doing Ctrl+V.. your doing 7 keystrokes vs. 3..

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