mIRC Home    About    Download    Register    News    Help

Print Thread
#254100 22/07/15 10:53 AM
M
michaelukz
michaelukz
M
I need some help working with if's smirk As you may know from my previous post's I am kinda nooby when it comes to coding in mirc, But I am working on a "Help" command but I get this for outputs frown

Here is my code frown
Code:
on *:text:*:#: {
  if (!help isin $1) {
    msg $chan For more information type !help <command>
  }
  if (cash isin $2) {
    msg $chan The money used in this channel is called "KryptoBux" to see how many you have type !help balance
  }
}


Chat Output!

#254102 22/07/15 11:39 AM
D
Dilof
Dilof
D
Code:
on *:text:*:#: {
  if (!help isin $1) {
    if ($2 == $null) {
      msg $chan For more information type !help <command>
    }
    if (cash isin $2) {
      msg $chan The money used in this channel is called "KryptoBux" to see how many you have type !help balance
      return
    }
    if (something isin $2) {
      ;do something
    }
    else return
  }
}

#254111 23/07/15 04:39 AM
M
michaelukz
michaelukz
M
Thanks!


Link Copied to Clipboard