Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu status,channel,query {
- $iif(%trollmode == on,MyASCII)
- .$iif($group(#myascii) == ON,$style(3)) On: { .enable #myascii | echo 4[ 8System 4] MyASCII is: ON . Have Fun... }
- .$iif($group(#myascii) == OFF,$style(3)) Off: { .disable #myascii | echo 4[ 8System 4] My ASCII is: OFF . You will not be able to use emoticons now.... }
- }
- #myascii on
- ON *:INPUT:*:{
- if (!$inpaste) && (!$ctrlenter) && ($comchar !== $left($1,1)) && ($chr(33) !== $left($1,1)) && ($active !== Status Window) {
- var %original = ok,yes,yeap,yeah,nope,no,euro,tecpa,tespa,AdiIRC,thx,DarkShadow,brb,mirc
- var %replace = ok ✔,yes ✔,yeap ✔,yeah ✔,nope ✘,no ✘,€,Telos Pantwn...,Telos Pantwn...,10Adi7I4R15C,Thank You!,14Dark15Shadow14™,4B7e 4R7ight 4B7ack,2m4IR8C
- var %text = $1-
- var %i = 1
- while (%i <= $numtok(%text,32)) {
- var %word = $gettok(%text,%i,32)
- if ($istok(%original,%word,44)) {
- var %fn = $findtok(%original,%word,1,44)
- var %rep_word = $gettok(%replace,%fn,44)
- var %text = $replace(%text,%word,%rep_word)
- }
- inc %i
- }
- if (%text !== $null) { msg $active %text }
- halt
- }
- }
- #myascii end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement