Guest Posted September 21, 2007 Share Posted September 21, 2007 on *:SIGNAL:mta.command:{ if ($3 == !job) { if (!$readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)) { if ($readini($scriptdir $+ Job.ini,$mta.name($1,$2),MalibuMission1Done) != 1) { mta.msg $1 $2 You need reach the Malibu-Club in Washington Beach for 1 minute !writeini " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) job $ctime .timer 1 60 job.fail $1 $2 } else mta.msg $1 $2 Job Allready Done! } else mta.msg $1 $2 You already have a job! You have $duration($calc(60 - $calc($ctime - $readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)))) left. } elseif ($3 == !here) { if ($readini($rpg.dir $+ Job.ini,$mta.name($1,$2),job)) { if (Malibu-Club isin $rpg.area($1,$2)) { mta.msg $1 $2 Job Completed. You Got 987 ! !writeini -n " $+ $rpg.dir $+ Job.ini" $mta.name($1,$2) MalibuMission1Done 1 !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$2) cash $calc($readini($rpg.dir $+ rpg.ini,$mta.name($1,$2),cash) + 987) } else mta.msg $1 $2 Go to the Malibu-Club In Washington Beach ! } else mta.msg $1 $2 You dont have a job. Type !job to get one. } } I dont know how to script my self so i dont know what is wrong with this script. If i type !job it gives me a job but if i type !here it say's "Go to the Malibu-Club In Washington Beach !" although im already there. It seems i have problem with areas. What files i need to create and what shoud i write in it???? Somebodey plz tell me how! Link to comment
MeanpantheR Posted September 21, 2007 Share Posted September 21, 2007 This should have been posted in the scriptinf forum (Addons). Also Post all of the script if you can Link to comment
krgunner Posted October 7, 2007 Share Posted October 7, 2007 missing aliases example .timer 1 60 job.fail $1 $2 Link to comment
Recommended Posts