Custom Identifiers

By Kentaro Kurosaki on Nov 30, 2011

Just some custom identifiers I made out of faces I saw

Update(12/11/11-11:00am-12:00 pm

I added a few more and a useful one when you need ()

Update(1/4/12-==- 12:40 PM USA EST)

Added a colorize and divider into useful ones

Update(1/5/12 -==- 9:09 AM USA EST)

Added $bold, $rvrse(same as ctrl-r), $norm(same as ctrl-o), $ul(same as ctrl-u)

Update(1/5/12 -==- 9:14 AM USA EST)

Also added a yuno meme

alias eyes {
  return ಠ_ಠ
}
alias jsmile {
  return ( ゚ヮ゚)
}
alias teehee {
  return ( ¬‿¬)
}
alias spam {
  return spammers sicken me
}
alias kirbyda {
  return ~('-'~) (~'-')~
}
alias kirbydb {
  return ~(*‿*~) (~*‿*)~
}
alias buffalo {
  return ~._.~
}
alias pig {
  return (^@^)
}
alias clown {
  return :oþ
}
alias dud {
  return ._.
}
alias meh {
  return  ┐('~`;)┌
}
alias grr {
  return ¬_¬
}
alias fu1 {
  return .!.. o_- ..!.
}
alias jajajapanese {
  return ┐('~`;)┌ わかりませんロール
}
alias fu2 {
  return ┌∩┐(◣_◢)┌∩┐
}
alias yuno {
  return ლ(ಠ益ಠ)ლ
}
;----Other use :) 
; This is an opening parentheses
alias paop {
  return [ $chr(40) ]
}
;This is a closing parentheses
alias pacl {
  return [ $chr(41) ]
}
alias colorize {
return $chr(3) $+ $+($1,$chr(44),$2) $+ $3- $+ $chr(3)
}
;^ Use: $colorize(text#,Back#,TEXT)

alias Divider {
  return $chr(3) $+ $1 $+ $chr(44) $+ $2 $+ |***| $+ $chr(3)
}
;^ Use: $divider(fore#,back#) (Use $divider(fore#,99) for no background color)
alias bold {
  return $chr(2) $+ $1 $+ $chr(2)
}
;^ Use: $bold(Text)
;Bolds Text Obviously
alias ul {
  return $chr(31) $+ $1 $+ $chr(31)
}
;^ Use: $ul(Text)
;Underlines
alias norm {
  return $chr(15) $+ $1 $+ $chr(15)
}
;^ Use: $norm(Text) (I don't really know what ctrl-o is supposed to do though)
alias rvrse {
  return $chr(22) $+ $1 $+ $chr(22)
}
;^ Use: $rvrse(Text)
;Reverses Colors

Comments

Sign in to comment.
Kentaro Kurosaki   -  Jan 05, 2012

And added a meme

 Respond  
Kentaro Kurosaki   -  Jan 05, 2012

Added 4 more identifiers

 Respond  
Kentaro Kurosaki   -  Jan 04, 2012

Thank you Aha2Y :)

 Respond  
Jordyk19   -  Jan 04, 2012

Nice update! I like the aliases :)

 Respond  
Kentaro Kurosaki   -  Jan 04, 2012

Updated with two more useful identifiers

 Respond  
TMFKSOFT   -  Dec 12, 2011

I forgot about that jaytea >_> :P

 Respond  
Kentaro Kurosaki   -  Dec 10, 2011

nods
Though I already have an alias called sgkk where if $2 = category echo these commands :D I might upload that

Which i did

 Respond  
jaytea   -  Dec 05, 2011

Otherwise, how?

he means something to the effect of:

alias face {
  return $replace($1, eyes, ಠ_ಠ ,jsmile, ( ゚ヮ゚), teehee, ( ¬‿¬), etc,)
}

which is useful in case you want to be able to construct lines by using, for example, $face((eyes)_/ jsmile) = (ಠಠ)/ ( ゚ヮ゚) ... y'know, creating full pictures with combinations of faces and other characters :P

otherwise, the method has a rather obvious shortcoming in that it doesn't validate $1. $1 could equal 'poop' and the alias would just return it. or it could be 'teeheepoop' and the alias would return '( ¬‿¬)poop'. sometimes we can get away with this; other times it requires extra code and becomes slightly more cumbersome to manage.

i've never been a fan of this kind of work since it's basically just data without any real code but then again i know some people come here to see ascii art and such ;)

 Respond  
TMFKSOFT   -  Dec 05, 2011

Jethro if you're referring to the use of 'on input' you will blow Kentaro Kurosaki's mind.
Probably even mine :P

Otherwise, how?

 Respond  
Kentaro Kurosaki   -  Dec 04, 2011

Mind you guys, I want to be able to insert these into messages :D
And ProSec I like having my custom identifiers away from my aliases ini I like everything where I know where it is, and so if I add aliases into aliases.ini it doesn't make the aliases mixed up between usual aliases like /id etc. and the custom identifiers. So it doesn't look like this:
/id
/jsmile
/grr
/anotheralias
/anotheralias
so on and so forth :D You all have great ideas, just not really what I would need, really this was a post to showcase them :D
What they do after with these is their prerogative

 Respond  
SReject   -  Dec 03, 2011
alias -l fsay msg $active $1- | halt
alias face {
  var %c = $iif($isid,return,fsay)
  goto $1
  :eyes | %c ಠ_ಠ
  :jsmile | %c ( ゚ヮ゚)
  :teehee | %c ( ¬‿¬)
  :spam | %c spammers sicken me
  :kirbyda | %c ~('-'~) (~'-')~
  :kirbydb | %c ~(*‿*~) (~*‿*)~
  :buffalo | %c ~._.~
  :pig | %c (^@^)
  :clown | %c :oþ
  :dud | %c ._.
  :meh | %c ┐('~`;)┌
  :grr | %c ¬_¬
  :error | reseterror | echo -a Invalid face specified.
}
 Respond  
Protheus   -  Dec 03, 2011

Btw, you could just put something like this in Aliases: dud return ._.

 Respond  
Protheus   -  Dec 03, 2011

Oh. I didnt know you could do that. Thats awesome.

 Respond  
Kentaro Kurosaki   -  Dec 03, 2011

@TMFKSOFT What do you mean clash?
@Jethro Example? I don't really know how to use $replace() as of yet :/
@ProSec well $server isn't custom now is it? :P and these are called with $ just like normal ones :D

 Respond  
Protheus   -  Nov 30, 2011

Confused me. I read "Custom Identifiers". I thought you were talking about like $server or something. Title should be "Custom Goofy Aliases" lol. Just messing with you but i was confuzzled for a second, there.

 Respond  
Jethro   -  Nov 30, 2011

You can use $replace() under one alias.

 Respond  
TMFKSOFT   -  Nov 30, 2011

To reduce the posibility of clashing with other scripts loaded on someones client you could use something along the lines of

alias face {
if ($1 == eyes) { return ಠಠ }
else if ($1 == jsmile) { return ( ゚ヮ゚) }
else if ($1 == teehee) { return ( ¬‿¬) }
else if ($1 == spam) { return spammers sicken me }
else if ($1 == kirbyda) { return ~('-'~) (~'-')~ }
else if ($1 == kirbydb) { return ~(~) (~)~ }
else if ($1 == buffalo) { return ~.
.~ }
else if ($1 == pig) { return (^@^) }
else if ($1 == clown) { return :oþ }
else if ($1 == dud) { return .. }
else if ($1 == meh) { return ┐('~`;)┌ }
else if ($1 == grr) { return ¬
¬ }
else { return $null }
}
You can then add a nice alias to return them

alias smiley {
if ($face($1) != $null) {
say $face($1)
}
else {
echo -g No such face.
}
}

Hope this helps :D

 Respond  
Frenetic   -  Nov 30, 2011

You don't need to use the brackets, just alias blah return bleh.

 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.