Small glitch/Error - 24/02/07 11:55 AM
Just a little baffled by the fact that, I think it is all right. It all works but when it comes to actually using it, it does not say 'You begin to chop a Yew Tree'. On the whole it works fine it's just that. Here it is
I pointed out the line which has the error, it goes through 'else { if (!$($+(%,$nick,.RuneAxe),2) == Yes)' But then it skips out the 'notice $nick You begin to chop a Yew Tree'
Hope you can help, Thanks
Code:
on *:text:!cut yew*:#RuneScapeLife:{ if (!$($+(%,$nick),2)) notice $nick You do not have an account! Type !create to make one. else { if ($($+(%,$nick,.WcXP),2) < 50000) notice $nick You do not have enough Woodcutting experience to cut a Yew Tree. (50000 Woodcutting Experience minimum.) else { if ($($+(%,$nick,.Busy),2) == On) notice $nick You need to wait before you can cut another Yew Tree! else { if (!$($+(%,$nick,.Axe),2)) notice $nick You do not have an Axe! >>>>>> else { if (!$($+(%,$nick,.RuneAxe),2) == Yes) notice $nick You begin to chop a Yew Tree... set % $+ $nick $+ .yewlogs $rand(1,15) timer 1 5 notice $nick You have chopped $($+(%,$nick,.yewLogs),2) Logs. inc % $+ $nick $+ .Yews $($+(%,$nick,.yewLogs),2) inc % $+ $nick $+ .WcXP $calc($($+(%,$nick,.yewLogs),2) * 175) unset % $+ $nick $+ .yewLogs set % $+ $nick $+ .Busy on timer 1 10 unset % $+ $nick $+ .Busy else { notice $nick You begin to chop a Yew Tree... set % $+ $nick $+ .yewlogs $rand(1,10) timer 1 5 notice $nick You have chopped $($+(%,$nick,.yewLogs),2) Logs. inc % $+ $nick $+ .Yews $($+(%,$nick,.yewLogs),2) inc % $+ $nick $+ .WcXP $calc($($+(%,$nick,.yewLogs),2) * 175) unset % $+ $nick $+ .yewLogs set % $+ $nick $+ .Busy on timer 1 10 unset % $+ $nick $+ .Busy } } } } } }
I pointed out the line which has the error, it goes through 'else { if (!$($+(%,$nick,.RuneAxe),2) == Yes)' But then it skips out the 'notice $nick You begin to chop a Yew Tree'
Hope you can help, Thanks