View Single Post
  #3  
Old 02-04-2011, 02:25 PM
chrismed0
Sarnak
 
Join Date: Aug 2010
Location: USA
Posts: 75
Default DOH Moment

Wow.. talk about a DOH moment!

With all the HOURS of looking, coping pasting from other scripts and just not noticing it.....

I finaly got tired and gave up .. couldn't see strait ROFL!

I looked at my other scripts.. and sure enough.. I see how I was missing it though..

I did my other scripts like this:

Code:
sub EVENT_SAY { 
if ($text=~/Hail/i){quest::say("Ug... Hello ittle on. I here to help. I know little magic. I send you to [ButcherBlock], [Oasis], [Overthere] ort [Firiona Vie] if need. I be careful over Firiona tho. They ont like some us");
}
if($text=~/Oasis/i){quest::movepc(37, -839,884,0); }
if($text=~/ButcherBlock/i){quest::movepc(68, 2889,646,10);}
if($text=~/Overthere/i){quest::movepc(93, 2733,3425,-158); }
if($text=~/Firiona Vie/i){quest::movepc(84, 1402,-4275,-103); }
}
I was putting the bracket after each statement so not to miss it....
on the new script.. I didn't do it though so I ...*cough* missed it.

Still... not bad for a beginner that has never written scripts .. ever..

It is all pritty simple.. but realy easy to miss the small things.

THANKS ALOT!... nilbog =)
Reply With Quote