You can do:
Code:
on !*:join:#: {
  var %t $calc($readini(sys/join.ini,$chan,TOTAL) +1),%n $calc($readini(sys/join.ini,$chan,$nick) +1)
  writeini -n sys/join.ini $chan TOTAL %t
  writeini -n sys/join.ini $chan $nick %n
  msg $chan %n - %t
}
which is clearer imo, but except the readability, nothing is really improved here.

Last edited by Wims; 04/06/11 02:08 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel