i tried expanding it but i couldnt get past the second $2 and i cant figure why

Code:
  if ($1 == .orders) { 
    if ($2 == $null) { msg $chan Orders for #channel: }
    elseif ($2 == set) {
      .writeini Orders.ini $calc($ini(Orders.ini,$chan,0) + 1) $3-
      notice $nick The Line was saved into Orders.ini with the channel: $chan and the Orders you specified.
    }
  }


i think i did everything correctly if u put .orders and the second string is empty u put one message but if its set to "set" then do this message and save to file no?

Last edited by Kreuz123123; 11/05/11 09:35 AM.