In many programming languages or when editing a configuration file, the "#" symbol is commonly used to add single line comments between lines of code.
When writing scripts, it is suggested to use this symbol for the same purpose of adding explanatory comments, but only on the condition that it is the first at the beginning of each new line of code.

Sample code:
Code
on *:TEXT:*:#channel:{

  # creating variables with text
  var %text1 Command action: "!command1"
  var %text2 Command action: "!command2"

  # explanatory commentary on the first command
  if ($1 == !command1) {
    msg $chan %text1
  }

  # explanatory comment to the second command
  if ($1 == !command2) {
    msg $chan %text2
  }
  
}



🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples