mIRC Home    About    Download    Register    News    Help

Print Thread
B
Blinakk
Blinakk
B
Hi, I want someone to make a script that will combine emotes and text, I don't know how to explain it so here is an example: http://imgur.com/tp2n6bi
http://imgur.com/tp2n6bi
http://imgur.com/tp2n6bi

Joined: Feb 2015
Posts: 241
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 241
Probably not possible :P
Feel free to use ascii art!
Good Luck!

T
TillableToast
TillableToast
T
Is this what you want?
Twitch converts normal text into emotes, so not sure what the problem is here.

Code:
on *:TEXT:kappa:#: {
  msg # Kappa K Kappa A Kappa P Kappa P Kappa A Kappa
}

Joined: Sep 2015
Posts: 33
D
Ameglian cow
Offline
Ameglian cow
D
Joined: Sep 2015
Posts: 33
Well something like this

Quote:
on *:TEXT:!bot Kappa:#: {
msg # $2 K $2 A $2 P $2 P $2 A $2
}


But I don't know how to seperate Kappa letters between Kappa's

T
Tulga
Tulga
T
http://puu.sh/qWiy3/233012f1a5.png Here is pic

Code:
on *:text:!ab*:#:{

  if ($2 == $null) { msg # !ab <emote> <text> | return }  

  var %finaltext $2 
  var %j 1

  while (%j <= $len($3)) {
    %finaltext = %finaltext $+ $chr(32) $+ $mid($3,%j,1) $+ $chr(32) $+ $2
    inc %j
  }

  msg # %finaltext

}

Last edited by Tulga; 01/09/16 03:15 PM.
B
Blinakk
Blinakk
B
Exactly what I wanted, thanks!

T
Tulga
Tulga
T
You're welcome

Joined: Jul 2013
Posts: 26
K
Ameglian cow
Offline
Ameglian cow
K
Joined: Jul 2013
Posts: 26
Code:
on *:text:!ab:#:{
  if !$2 { msg # !ab <emote> <text> | return }  
  msg # $regsubex($2,//g,$chr(32) $1 $chr(32))
}


Link Copied to Clipboard