mIRC Scripting 

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

 Asking the User                                                                                                           Lessons 9   
 

Sometimes you don't want to require parameters for an alias, but just ask the user what to do. That is what $? is for. (another useful identifier) For example-

/j /join $?

This will ask the user for input, then join the channel that they enter. This example is bad, as it doesn't tell the user what they are entering. Try this-

/j /join $?="Channel to join?"

    The ="" contains the question you are asking the user- This will help the user know what needs to be entered.

NOTE: Remember that this is the same as-

/j {
  /join $?="Channel to join?"
}
Either format works if you only have one line for the alias. Use whichever looks better to you.

      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