if i do a scan for VALID_ADVANCE for multiple arguments, is there any variable returned that says which one it found? i was thinking that would make it real easy to throw in like 8 arguments, then afterwards by the result could do a number of different things by which one it found without having to do like 4 calls. right now im doin this...
gosub TM_AdvJournalScan fish VALID_ADVANCE You_pull_out Your_fishing_pole_bends_as_you You_fish_a_while,_but_fail Your_fishing_pole_nearly_breaks! You_struggle_and_fight_to_pull
if #result = #true
return CONTINUE
gosub TM_AdvJournalScan fish VALID_ADVANCE The_fish_don't_seem_to_be_biting
if #result = #true
return MOVE
but i was thinking i could do:
gosub TM_AdvJournalScan fish VALID_ADVANCE You_pull_out Your_fishing_pole_bends_as_you You_fish_a_while,_but_fail Your_fishing_pole_nearly_breaks! You_struggle_and_fight_to_pull The_fish_don't_seem_to_be_biting
if #result in You_pull_out_Your_fishing_pole_bends_as_you_You_fish_a_while,_but_fail_Your_fishing_pole_nearly_breaks!_You_struggle_and_fight_to_pull
return CONTINUE
if #result = The_fish_don't_seem_to_be_biting
return MOVE
that way i dont need to call it multiple times.
does that make any sense? or would it really not matter much? i dont know if you read my other post but im just brainstorming ways to try to make things faster by reducing all the high LPC calling subs/functions/scripts.