Buzzen Forum
Misc => IRC Scripters => Topic started by: g33k™ 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?
-
if it's for the input you would do it in the on *:INPUT:#: { echo
somewhere around line 212in the Themelike_Events
-
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.
-
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.
-
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
}