title: $:/plugins/tiddlywiki/tour/globals tags: $:/tags/Global \procedure tour-initialise-current-tour-step() <$transclude $tiddler={{$:/state/tour/step}} $field="enter-actions"/> \end \procedure tour-restart() <$action-setfield $tiddler="$:/config/ShowTour" text="show"/> <$action-setfield $tiddler="$:/state/tour/step" $field="text" $value={{{ [all[shadows+tiddlers]tag[$:/tags/TourStep]first[]] }}}/> <> \end \procedure tour-next-step() <$action-setfield $tiddler="$:/state/tour/step" $field="text" $value={{{ [all[shadows+tiddlers]tag[$:/tags/TourStep]after{$:/state/tour/step}else[$:/plugins/tiddlywiki/tour/steps/finished]] }}}/> <> \end \procedure tour-previous-step() <$action-setfield $tiddler="$:/state/tour/step" $field="text" $value={{{ [all[shadows+tiddlers]tag[$:/tags/TourStep]before{$:/state/tour/step}] :else[all[shadows+tiddlers]tag[$:/tags/TourStep]first[]] }}}/> <> \end