mIRC Home    About    Download    Register    News    Help

Print Thread
#164471 12/11/06 06:32 PM
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
on ^*:TEXT:*:#: {
if ($nick isop #) echo #  $+ 4 $+ @ $+ $nick ¬ $1-
elseif ($nick isvo #) echo #  $+ 12 $+ + $+ $nick ¬ $1-
else echo # $nick ¬ $1- | halt
}

how do i echo my own nick like all the users..?
confused

Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Code:
on *:INPUT:*: {
  if (/* !iswm $1-) { 
    if ($me isop #) echo  #  $+ 4 $+ @ $+ $me ¬ $1-
    elseif ($me isvo #) echo  #  $+ 12 $+ + $+ $me ¬ $1-
    else echo  # $me ¬ $1- | halt
  }
}
 


use echo -t 4 timestamp

Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
thanks it works...

Joined: Feb 2006
Posts: 181
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
glad to be of help :tongue:

Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
i forgot that it should be on input
and im trying to make it happen by using on text ...
silly me hehehehe

Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
on *:INPUT:*: {
if (/* !iswm $1-) {
if ($me isop #) echo #  $+ 4 $+ @ $+ $me ¬ $1-
elseif ($me isvo #) echo #  $+ 12 $+ + $+ $me ¬ $1-
else echo # $me ¬ $1- | halt
}
}

oh man i didn't test this
your code only echoes don't send to channel

lol


anyone can help me on this?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
just change the word echo to .msg
I recommend using .msg over /msg or msg since with the other two you'll see the message twice, even though everyone else will only see it once.

Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
if i do that


i won't see my own texts
and will only send to channel

$me $me - $1-


Don't work either

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Try this

Code:
 on *:INPUT:*: {
  if (/* !iswm $1-) {
    if ( $nick(#,$me,ov) ) echo $target $+(,$iif($me isop #,04@,12+),,$me) ¬ $1-
    else echo $target $me ¬ $1- 
    .msg $target $1-
    halt
  }
} 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Oct 2006
Posts: 342
L
learn3r Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Now that works...
thanks xDaeMoN


learn learn learn

Link Copied to Clipboard