Hi!
I think i found a bug.
When you're connected to psyBNC, it sends you the Messages from the host -psyBNC!psyBNC@lam3rz.de .. but if you use a script (for example a mts theme engine), mIRC displays all messages in the Status window. You can try it by simply typing //echo -psyBNC test .. maybe mIRC recognizes the "-" at the beginning of the Nickname as a parameter?
Thank you, aM0x
That would be a result of an error somewhere in the MTS theme or the MTS theme engine (I don't use MTS so I wouldn't know which). Whichever is calling the /echo that causes this should specify a switch to prevent it.
well i read the help file and i couldn't find a parameter that specifies that the following string is a nickname instead of a parameter.. so, how to prevent it?
Try /echo -i0 -psyBNC text.
no sorry, doesn't works too..
What exactly are you trying to do? That line will echo "text" to the -psyBNC window.
i dont think you can use "-" in the code.. try use:
/echo -i0 $chr(45) $+ psyBNC text. that code instead
That does exactly the same thing mine did, it echoes "-psyBNC text." to the active window if there isn't a window called -psyBNC open, and echoes "text." to the -psyBNC window if it is open.
try aline @-psyBNC TEXT ..... if it is a custom window without the @ infront of it that should work... but im not totally sure on what your doing please elaborate more
i tried /aline @-psyBNC text
* /aline: invalid window
and here i tried /aline -psyBNC text
* /aline: invalid window
the echo cmds posted don't work, too.
if i try /echo -i0 $chr(45) $+ psyBNC text
it writes in the active windows "-psyBNC text"
if i try //echo -i0 $chr(45) $+ psyBNC text
it parses as before and writes in the status window.. =/
Well since you're not telling us what you want to echo and where you want to echo it to it is very hard to help.
my event doesn't looks like this but it works the same way:
on ^*:text:*:?:{
echo $nick ( $+ $nick $+ ) $1-
}
and this "theme" doesn't works with psybnc because it thinks the -psyBNC nick is a parameter..
Well from that I guess you're trying to echo the text to the -psyBNC query window?
Type /query -psyBNC then go to any other window and type /echo -i0 -psyBNC hello. That will echo "hello" to the -psyBNC query window, if that isn't what you want then I give up, but it certainly isn't a bug.
you're right, it isn't a bug, it only appears when my MTS theme engine is enabled. i have an alias called echo, which will parse your text.. here it is:
alias echo {
var %mts $read -w"ECHO *" %mtheme | var %mts $gettok(%mts,2-,32)
if ($left($asctime($timestampfmt),3) !isin $2-) {
if ($left(%mts,7) != !script) {
var %mts = $replace(%mts,<c1>,%::c1,<c2>,%::c2,<c3>,%::c3,<c4>,%::c4,<text>,$2-)
if (%::pre !isin %mts) { var %mts = $replace(%mts,<pre>,%pre) }
else { var %mts = $replace(%mts,<pre>,) }
echo $1 $iif(%mts.timestamp == ON,$asctime($timestampfmt),) %mts
}
else { set -un %:echo echo $2 | set -un %::text $2- | $gettok(%mts,2-,32) }
}
else { echo $1- }
}
how can i get this to work with the alias?