All pastes #367973 Raw Edit

Someone

public text v1 · immutable
#367973 ·published 2007-02-22 19:08 UTC
rendered paste body
on *:text:!wclist*:#rslife:{ notice $nick Available trees to cut:
  notice $nick Tree  
  notice $nick End of list.
  notice $nick Syntax: !cut <treetype>
}
on *:text:!cut tree*:#rslife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one.
  else { if ($($+(%,$nick,.Busy),2) == On) notice $nick You need to wait before you can cut another Tree!
    else { if (!$($+(%,$nick,.Axe),2)) notice $nick You do not have an Axe!
      else { notice $nick You begin to chop a Tree...
        set % $+ $nick $+ .TreeLogs $rand(1,10)
        timer 1 5 notice $nick You have chopped $($+(%,$nick,.TreeLogs),2) Logs.
        inc % $+ $nick $+ .Logs $($+(%,$nick,.TreeLogs),2)
        inc % $+ $nick $+ .WcXP $calc($($+(%,$nick,.TreeLogs),2) * 15)
        unset % $+ $nick $+ .TreeLogs
        set % $+ $nick $+ .Busy on
        timer 1 10 unset % $+ $nick $+ .Busy
      }
    }
  }
}