mIRC Home    About    Download    Register    News    Help

Print Thread
#168499 09/01/07 12:36 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Code:
on ^*:open:?:{
  echo $nick Chatting with:( $+ $gettok($address,1,64) $+ @ $+ $gettok($address,2,64) $+ )
}


Why isn't this echoing on my pm window instead on the status window...


learn learn learn
learn3r #168501 09/01/07 01:02 PM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Because $nick refers to a query window. Use "echo =$nick" to refer to the DCC chat window.


* cold edits his posts 24/7
cold #168502 09/01/07 01:34 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
yes but it is meant to be on query window echo


learn learn learn
learn3r #168506 09/01/07 02:22 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Remove the ^ from that. You're not halting anything, so don't use it.


Invision Support
#Invision on irc.irchighway.net
learn3r #168508 09/01/07 02:44 PM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Oh I could swear I read "chat window" instead of "status window". Well, the answer is the same: "echo $nick" refers to $nick's query window. Use "echo -s $nick".


* cold edits his posts 24/7
cold #168523 09/01/07 07:24 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You still read it wrong. smile

He wants it to appear in his PM window, NOT his status window. Because of the ^, it is appearing in his status window. Removing it makes it appear in the correct place.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #168527 09/01/07 08:48 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Thanks you`re right


learn learn learn
learn3r #168534 09/01/07 11:04 PM
Joined: Jul 2006
Posts: 242
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
echo -s this will go in the status window
echo $query($nick) should go in the PM window

Last edited by HaleyJ; 09/01/07 11:06 PM.

Newbie
HaleyJ #168536 09/01/07 11:40 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You don't need $query around $nick for it to work. It was just the ^ causing the problem.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #168548 10/01/07 03:18 AM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
LOL, I guess I was needing some sleep. grin


* cold edits his posts 24/7

Link Copied to Clipboard