From WikiChip
Difference between revisions of "Talk:mirc/raw events"
< Talk:mirc

(Bot: creating talk page)
 
(display /userhost in #channel: new section)
 
Line 1: Line 1:
 
{{talk header}}
 
{{talk header}}
 +
 +
== display /userhost in #channel ==
 +
 +
I found this mrc code:<br>
 +
<br>
 +
<code>
 +
raw 302:*:{
 +
echo -ta *** $gettok($2,1,61) is $right($gettok($2,2,61),$calc($len($gettok($2,2,61)) - 1))
 +
halt
 +
}<br>
 +
raw 340:*:{
 +
echo -ta *** $gettok($2,1,61) is $right($gettok($2,2,61),$calc($len($gettok($2,2,61)) - 1))
 +
halt
 +
}
 +
</code>
 +
<br>
 +
<br>
 +
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
 +
<br>
 +
 +
on *:TEXT:!ip*:#Ops: {
 +
  notice $nick *** $2 *** is connected from $ip/host
 +
}

Latest revision as of 04:54, 16 August 2017

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[edit]

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

}