mIRC Scripting 

Infinity.ca.us.webchat.org Webmaster Inc.Service Hub

 Some other useful Identifiers                                                                                          Lessons 11   
 

There are some other identifiers that you may find yourself using a lot. For example, $me is your current nickname-

lag ping $me

If that looks funny to you, remember that it is the same as-

lag {
  ping $me
}

You can use $chan for the currently active channel window-

pc {
  ; Ping the current channel
  ctcp $chan ping
}

Instead of $chan, you can also use #-

pc {
  ; Ping the current channel
  ctcp # ping
}

Keep this in mind- a lone # symbol will always equal the currently active channel window. (note that $chan and # will evaluate to 'nothing' if the current window is not a channel.) We will always use $chan in these tutorials.

NOTE: This doesn't affect the use of # as part of a channel name
      3|Table of Contents|4

 

All information shown on this site is regularly maintained and kept as up to date as possible. All other trademarks are property of their respective owners. Copyright © 2001, Infinity.ca.us.webchat.org Webmaster, Inc.Service Hub

Hosted by www.Geocities.ws

1