Author Topic: Moschino Theme Inpute change.  (Read 437 times)

0 Members and 1 Guest are viewing this topic.

g33k™

  • *
  • Posts: 14
    • View Profile
Moschino Theme Inpute change.
« on: May 05, 2025, 02:01:38 pm »
[12:42pm] <g33k™> test

I want it to look like

[12:42pm] g33k™: test

I've changed all the $+( <, $Me, >)

to

$+( , $Me, : )

What am I missing?

err0r

  • Administrator
  • *****
  • Posts: 152
    • View Profile
Re: Moschino Theme Inpute change.
« Reply #1 on: May 09, 2025, 10:28:57 am »
if it's for the input you would do it in the on *:INPUT:#: {  echo

somewhere around line 212in the Themelike_Events


g33k™

  • *
  • Posts: 14
    • View Profile
Re: Moschino Theme Inpute change.
« Reply #2 on: May 09, 2025, 03:39:31 pm »
This is what it has:

on *:INPUT:#: {
  if ($Left($1, 1) != /) {
    var %Text = $1-, %Sock = $Iif(*MCHAN* iswm $Server, $M_Sock($Gettok($Server, 2, 38), #), $C_Sock(#))
    ; For font selection
    if ($MainSettings(FONT, DONT_USE) == 0) sockwrite -n %Sock PRIVMSG # $Web_Font(%Text)
    else sockwrite -n %Sock PRIVMSG # : $+ %Text
    echo # $Timestamp $+( , $Me, :) $+ %Text
    haltdef
  }
}

When I type on my script, it shows  [2:20pm] g33k™:Ok.
When I type on web, it shows [2:20pm] <g33k™> Ok.

I looked all through the themelike_events and removed all "<>" and it still shows up when I type on web showing the "<>". I looked all through OPTIONS when setting it up and I don't see and "<>" in it. So I'm stumped at the moment. Something is making $Timestamp $+( , $Me, :) $+ %Text look like $Timestamp $+( <, $Me, >) $+ %Text.

err0r

  • Administrator
  • *****
  • Posts: 152
    • View Profile
Re: Moschino Theme Inpute change.
« Reply #3 on: May 10, 2025, 04:37:27 pm »
when you type in your script it's done through the input:

the theme of what you see in your script when someone else types uses on text event. Doesn't look like moschino handles that in it's themelike events.

You can add your own like:

on ^*:text:*:#:{
  echo # $Timestamp $nick $+ : $1-
  haltdef
}

That will echo how you want and halt the default mirc way of showing it.

note: this could affect some other things like time check. I haven't tested it to know.

g33k™

  • *
  • Posts: 14
    • View Profile
Re: Moschino Theme Inpute change.
« Reply #4 on: May 11, 2025, 08:52:06 am »
Here is what I came up with with a few little tweaks:

; DO NOT remove or edit this channel INPUT event, incase you use font codes.
on *:INPUT:#: {
  if ($Left($1, 1) != /) {
    var %Text = $Replacexcs($Regsubex($1-, /^([a-z])|\b(i)\b/g, $Upper(\t)), doesnt, doesn't, couldnt, couldn't, wouldnt, wouldn't, shouldnt, shouldn't, didnt, didn't, isnt, isn't, theyll, they'll, wasnt, wasn't, havent, haven't, dont, don't, thats, that's, cant, can't)


    ; For font selection
    if ($MainSettings(FONT, DONT_USE) == 0) sockwrite -n $C_Sock(#) PRIVMSG # $Web_Font(%Text)

    else sockwrite -n $C_Sock(#) PRIVMSG # : $+ %Text

    if ($Nick(#, $Nick, ')) echo # $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+Q]   $+ $Nick $+ : %Text
    elseif ($Nick(#, $Nick, .)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+q]   $+ $Nick $+ : %Text
    elseif ($Nick(#, $Nick, @)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+o]   $+ $Nick $+ : %Text
    elseif ($Nick(#, $Nick, %)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+h]   $+ $Nick $+ : %Text
    elseif ($Nick(#, $Nick, +)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+v]   $+ $Nick $+ : %Text
    else echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93)     $+ $Nick $+ : %Text
    haltdef
  }
}
on ^*:TEXT:*:#:{
  var %Text = $1-

  if ($Nick(#, $Nick, ')) echo #  $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+Q]   $+ $Nick $+ : %Text
  elseif ($Nick(#, $Nick, .)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+q]   $+ $Nick $+ : %Text
  elseif ($Nick(#, $Nick, @)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+o]   $+ $Nick $+ : %Text
  elseif ($Nick(#, $Nick, %)) echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+h]   $+ $Nick $+ : %Text
  elseif ($Nick(#, $Nick, +)) $chan echo $chr(91) $+ $asctime(h:nn tt) $+ $chr(93) [+v]   $+ $Nick $+ : %Text
  else echo $chan $chr(91) $+ $asctime(h:nn tt) $+ $chr(93)    $+ $Nick $+ : %Text

  halt
}