mIRC Home    About    Download    Register    News    Help

Print Thread
#119394 05/05/05 01:50 AM
Joined: May 2005
Posts: 1
B
bogus Offline OP
Mostly harmless
OP Offline
Mostly harmless
B
Joined: May 2005
Posts: 1
I need to cut some text of the reply of the command /userhost $nick
I want to replace foo=+~foo@bar.com with *@bar.com

Hope you can help

#119395 05/05/05 02:17 AM
Joined: Jan 2005
Posts: 25
A
Ameglian cow
Offline
Ameglian cow
A
Joined: Jan 2005
Posts: 25
try this:
Code:
raw 302:*:{
  echo -a * Userhosttest > $+(*@,$gettok($2,2,64))
  halt
}


- I AM -
#119396 05/05/05 04:17 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
less code >> $puttok($2,*,1,64)


Link Copied to Clipboard