Just some custom identifiers I made out of faces I saw
I added a few more and a useful one when you need ()
Added a colorize and divider into useful ones
Added $bold, $rvrse(same as ctrl-r), $norm(same as ctrl-o), $ul(same as ctrl-u)
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
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 ;)
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
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.
}
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