on *:text:!make bow normal *:#: {
if ($nick isop $chan) {
var %time = $rand(5,12)
if ($nick isin $read(names.txt, w, $nick)) { /notice $nick please wait to make bows again }
else {
if ($4 > 10) { /notice $nick You can only make up to 10 bows each time | halt }
else {
if ($($+(%,bst.,$nick),2) < $4) || ($($+(%,wno.,$nick),2) < $4) { /notice $nick you do not have enought bows or flax to make $4 normal bows | halt }
/write names.txt $nick
.timer 1 %time /write -dw $+ $nick names.txt
inc $+(%,b.n.,$nick) $4
dec $+(%,bst.,$nick) $4
dec $+(%,wno.,$nick) $4
inc $+(%,flc.,$nick) $calc(5 * $4)
/notice $nick you string $4 normal bows. You now have $($+(%,b.n.,$nick),2) normal bows. Please wait to string again.
} } }
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;
to make lvl requirement
use this
and make the lvl reuquirements wat rs is like
like oak is lvl 5 or something and wilow is 30
no short and long bows tho- just a normal bow
put this after the .timer part
if ($eval($+(%,flc.,$nick),2) < --xp req.--) { /notice $nick You need to be atleast Lvl ---- to make a --- bow! --- xp req. }
else {