|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
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
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
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.
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
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?
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
Try /echo -i0 -psyBNC text.
|
|
|
|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
no sorry, doesn't works too..
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
What exactly are you trying to do? That line will echo "text" to the -psyBNC window.
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
i dont think you can use "-" in the code.. try use: /echo -i0 $chr(45) $+ psyBNC text. that code instead
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
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.
|
|
|
|
Joined: Dec 2002
Posts: 1,527
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,527 |
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
D3m0nnet.com
|
|
|
|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
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.. =/
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
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.
|
|
|
|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
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..
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
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.
|
|
|
|
Joined: Aug 2003
Posts: 7
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Aug 2003
Posts: 7 |
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?
|
|
|
|
|