From WikiChip
Talk:mirc/raw events
< Talk:mirc
Revision as of 04:54, 16 August 2017 by 122.151.134.233 (talk) (display /userhost in #channel: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the discussion page for the mirc/raw events page.
  • Please use this page to discuss possible errors, inconsistencies, omissions, changes, and further clarifications regarding the content of mirc/raw events.
  • If you are looking for a particular model that's missing, please add its name to this page.

display /userhost in #channel

I found this mrc code:

raw 302:*:{ echo -ta *** $gettok($2,1,61) is $right($gettok($2,2,61),$calc($len($gettok($2,2,61)) - 1)) halt }
raw 340:*:{ echo -ta *** $gettok($2,1,61) is $right($gettok($2,2,61),$calc($len($gettok($2,2,61)) - 1)) halt }


I was wondering how can I use this code for public command, I tried few optios but since im not a coder, I couldnt make it work

on *:TEXT:!ip*:#Ops: {

 notice $nick *** $2 *** is connected from $ip/host

}