That's an interesting idea for a script. I wrote something that will do this for you. There are other, arguably better ways to replace the users name with their IRL name than the method I used, however. Having said that, I also don't recommend using the $replace method that you used simply because it will replace any instance of those words in a name. Example, if you used $replace to replace "bob" with "steve," and the name entered in the !mulitwitch command was "bobby," it would replace it with "steveby." I hope this script helps. Let me know if you have any questions. smile

Code:
ON *:TEXT:!multitwitch *:#: {
  ; set variables for the script
  VAR %num = $0, %x = 1, %msg_01, %msg_02
  ; run WHILE loop to generate info to be used for the message lines
  WHILE (%x < %num) {
    VAR %name $ [ $+ [ $calc(%x + 1) ] ]
    VAR %IRLname $peoplesIRLName(%name)
    VAR %msg_01 %msg_01 %IRLname twitch.tv/ $+ %name and
    VAR %msg_02 %msg_02 %IRLname and
    INC %x
  }
  ; cut off the trailing ends of the %msg variables created in the WHILE loop and insert into the bot's output message in chat
  MSG $chan N.N. is playing with $left(%msg_01,-4)
  MSG $chan If you want to watch both N.N. and $left(%msg_02,-4) but you only have one monitor: multitwitch.tv/ $+ $replace($2-,$chr(32),/)
}

alias peoplesIRLName {
  IF ($1 == name_from_command) RETURN IRL_name
  IF ($1 == name_from_command) RETURN IRL_name
  IF ($1 == name_from_command) RETURN IRL_name
  RETURN $1
}

Last edited by Blas; 09/02/17 01:08 AM.