edit: ho scritto na boiata

start: wait 1 if ( #hits = #maxhits && c notin #charstatus && #charghost = NO ) { goto start }
set !Save #false set !Jstart %SaveIndex for !i !Jstart #jindex { [COLOR="Red"]scanjournal !i[/COLOR] if #jcolor = 53 { if THE_WORLD_WILL_SAVE_IN in #journal || WORLD_IS_SAVING in #journal { set !Save #true Event ExMsg #charid 3 33 SAVE Detected gosub WaitForSaveEnd WORLD_SAVE_COMPLETE 100 !i SAVE set %SaveIndex #jindex set !i #jindex }
set !Save #false set !Jstart %SaveIndex for !i !Jstart #jindex { [COLOR="Red"]scanjournal !i[/COLOR] if #jcolor = 53 { if THE_WORLD_WILL_SAVE_IN in #journal || WORLD_IS_SAVING in #journal { set !Save #true Event ExMsg #charid 3 33 SAVE Detected gosub WaitForSaveEnd WORLD_SAVE_COMPLETE 100 !i SAVE set %SaveIndex #jindex set !i #jindex }
wait 4s if #charname = N/A { event macro 8 2 gosub _waitSysVar contname = status_gump 10 if ! #result goto _waitlogin } [COLOR="Red"]set %SaveIndex #jindex[/COLOR] ; aggiunto questa riga namespace pop return #true ;****************************************************************** sub _waitSysVar namespace push namespace local _waitForSysVar
Commenta