mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2007
Posts: 3
T
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jan 2007
Posts: 3
Hi,
I was wondering if it's possible to change the symbols around someone's nickname in the message screen.
I.e.:
<Thoronwen> Hi
to
[Thoronwen] Hi

Thanks for helping.

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
You can create your own "theme".
on *:text:*:#:{
echo -t $chan [ $+ $nick $+ ]: $1-
}

That sort of thing.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You forgot to haltdef the event (and use ^). smile


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
No I never make themes so know nothing about them. Just pointing them in the right direction. Why dont you show them how its done.

Joined: May 2005
Posts: 449
Fjord artisan
Offline
Fjord artisan
Joined: May 2005
Posts: 449
He did.
Code:
on ^*:text:*:#:{
echo -t $chan [ $+ $nick $+ ] &+ : $1-
haltdef
}

Last edited by bwr30060; 21/01/07 04:19 AM.
Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
Code:
on ^*:text:*:#:{
echo -t $chan [ $+ $nick $+ ] &+ : $1-
haltdef
}


^^This isn't going to work, the code makes it look like it's using evaluation brackets, so, it will not echo back correctly. And also, it uses "&+" instead of "$+". I would use this:

Code:
on ^*:TEXT:*:#:{
  echo -t $chan $+($chr(91),$nick,$chr(93)) $+ : $1-
  haltdef
}

laugh

Last edited by Kurdish_Assass1n; 21/01/07 05:59 AM.

-Kurdish_Assass1n
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You can save that last $+ by including the : in your $+(). For that matter, if you include it, you can have the final ] as a ] instead of a $chr because the : next to it would prevent evaluation.

Code:
on ^*:TEXT:*:#:{
  echo -t $chan $+($chr(91),$nick,]:) $1-
  haltdef
}


Of course, putting the : next to the ] in the original would also work.

Code:
on ^*:text:*:#:{
  echo -t $chan [ $+ $nick $+ ]: $1-
  haltdef
}


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2007
Posts: 3
T
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jan 2007
Posts: 3
Its working fine now, thanks alot.

However, as only other users can trigger the on TEXT event, my own nick still appears as <Thoronwen>. Any ideas on how to change that aswell?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/help on INPUT

It's almost the same format as on TEXT, but the trigger isn't in the event line. Check the format and make an on INPUT event that is similar to your on TEXT event. You don't need to use ^ in the on INPUT event. Try it and let's see what you come up with.


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2007
Posts: 3
T
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jan 2007
Posts: 3
Code:
on *:INPUT:#:{
  /echo 4 -tlm $chan « $+ $me $+ » $1-
  haltdef
} 

(Returns '[19:57] «Thoronwen» Hi' in red.)

Seems to work like a charm smile Thanks again for helping.

Last edited by Thoronwen; 26/01/07 06:58 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Looks good. smile


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard