mIRC Home    About    Download    Register    News    Help

Print Thread
#110999 12/02/05 11:38 AM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
I had this issue once before and i forgot how i fixed it and its driving me NUTS. Ok here we go...

on ^*:text:*:#: {
if ($nick isop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] @ $+ $nick $+ > $1- | haltdef }
elseif ($nick isvo $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] + $+ $nick $+ > $1- | haltdef }
elseif ($nick ishop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] % $+ $nick $+ > $1- | haltdef }
elseif ($nick isreg $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ > $1- | haltdef }
}

^ That bad boy right there makes the text look like
This.. :

[12:35:25] @DeathScythe007> Hi Tabbu
[12:35:26] @DeathScythe007> laugh
[12:35:33] @Tabby> jello dascu laugh
[12:35:36] hylian34> Xylon, you ARE joking, right?
[12:35:45] %Easy_D> Of course he is...n't

However when my user talks it views just as <nicknamhere> i have tried input i have tried EVERYTHING i can not get this working.. frown I really am at a loss here.


- Andrew Berquist, Windfyre Network
#111000 12/02/05 12:23 PM
Joined: Jan 2005
Posts: 31
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 31
laugh
Code:
 
on ^*:text:*:#:{
  if ($nick isop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] @ $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isvo $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] + $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick ishop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] % $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isreg $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef }
}
on *:input:*:{ echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef }

 

#111001 12/02/05 12:51 PM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
It works but this Small issue

[01:49:47] Xylon2> /join #gaming
[01:49:54] Xylon2> /join #Zelda
[01:50:39] Xylon2> /join #gaming

^ Thats in my status window when i try to join a channel via the status window.. Any ideas?


Quick note, thats actualy in *all* windows smile

Last edited by Gamersad; 12/02/05 12:53 PM.

- Andrew Berquist, Windfyre Network
#111002 12/02/05 01:14 PM
Joined: Jan 2005
Posts: 31
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 31
my bad
Code:
  on ^*:text:*:#:{
  if ($nick isop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] @ $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isvo $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] + $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick ishop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] % $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isreg $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef }
}
on *:input:*:{ if / isin $1 {
    return
  }
  else { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef
  }
}

#111003 12/02/05 01:28 PM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
Thanks much (just heading to bed its 2:20 already! (am) np on the modes post btw :P It really just depends on the IRCd or other software you use for your server.

Seems to work fine my goal is just to figure out how i can place my own (status) in there. Anwyay bedtime. bbs in a few hours if you figure something out post it! i will catch up with you later and thanks for the help


- Andrew Berquist, Windfyre Network
#111004 12/02/05 01:33 PM
Joined: Jan 2005
Posts: 31
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 31
not sure what you mean by your own status..if you can
type me up an example i can work on something laugh

#111005 12/02/05 01:38 PM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
See how the others display the user mode? @ % + (so on down the list we already went over. ) i wanted it ti display if i was an op or what not, but i may just do something differnt. for the users nick.. anyway bbs sleep and its raining hard or was..


- Andrew Berquist, Windfyre Network
#111006 12/02/05 02:08 PM
Joined: Jan 2005
Posts: 31
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 31
try this (untested)
Code:
  on ^*:text:*:#:{
  if ($nick isop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] @ $+ @ $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isvo $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] + $+ + $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick ishop $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] % $+ % $+ $nick $+ &gt; $1- | haltdef }
  elseif ($nick isreg $chan) { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef }
}
on *:input:*:{ if / isin $1 {
    return
  }
  else { echo $chan [ $+ $asctime(hh:nn:ss) $+ ] $nick $+ &gt; $1- | haltdef
  }
}

#111007 12/02/05 02:10 PM
Joined: Jan 2005
Posts: 31
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 31
delete *brain fart*

#111008 12/02/05 07:04 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Code:
on ^*:text:*:#:Your.text.alias.name.here $chan $nick $1-
on *:input:#:if (/* !iswm $1-) { Your.text.alias.name.here $active $me $1- }

alias -l Your.text.alias.name.here {
  ;$1 = $chan
  ;$2 = $nick/$me
  ;$3-= text
  if ($1 ischan) &amp;&amp; ($2 ison $1) &amp;&amp; ($0 &gt; 2) {
    if ($2 isop $1)      { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] @ $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 isvo $1)  { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] + $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 ishop $1) { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] % $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 isreg $1) { echo $1 [ $+ $asctime(hh:nn:ss) $+ ]      $2 $+ &gt; $3- | haltdef }
  }
}

#111009 12/02/05 09:47 PM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
It works, one minor error, no one can see anything i say smile This is one hard thing to write, atleast for me anyway thanks for the help though... i'm still trying to tweak things a bit i hope it work sometime.


- Andrew Berquist, Windfyre Network
#111010 12/02/05 11:40 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
DOH! yep i can see why instantly

Code:
on ^*:text:*:#:Your.text.alias.name.here $chan $nick $1-
on *:input:#:if (/* !iswm $1-) {  .msg $active $1- | Your.text.alias.name.here $active $me $1- }

alias -l Your.text.alias.name.here {
  ;$1 = $chan
  ;$2 = $nick/$me
  ;$3-= text
  if ($1 ischan) &amp;&amp; ($2 ison $1) &amp;&amp; ($0 &gt; 2) {
    if ($2 isop $1)      { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] @ $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 isvo $1)  { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] + $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 ishop $1) { echo $1 [ $+ $asctime(hh:nn:ss) $+ ] % $+ $2 $+ &gt; $3- | haltdef }
    elseif ($2 isreg $1) { echo $1 [ $+ $asctime(hh:nn:ss) $+ ]      $2 $+ &gt; $3- | haltdef }
  }
}


Sorry i forgot that a halt in a input stops the text being sent to the server not just the display of the text on your screen, so now i send it to the server before hand.

#111011 13/02/05 11:02 AM
Joined: Jun 2003
Posts: 56
G
Babel fish
OP Offline
Babel fish
G
Joined: Jun 2003
Posts: 56
Yes! thanks much for the help everyone... I couldnt figure this one out for the life of me..


- Andrew Berquist, Windfyre Network

Link Copied to Clipboard