greet

Help for those learning Tcl or writing their own scripts.
Post Reply
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

greet

Post by pilouuu »

Hello

Greet detected by nick! possible to change detect by *!*@host.user.quakenet.org ?

thx
Last edited by pilouuu on Wed Dec 20, 2006 4:39 pm, edited 1 time in total.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

$nick is the nick and $uhost is the user@host, to get *!*@host you can use

Code: Select all

set host *!*@[lindex [split $uhost @] 1]
you figure out how to use this info.
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

thx (l)
Post Reply