1. How script a check to see if your character is hidden? Only thing that I could really find is doing a check for a hidden flag on EUO. I want to add a hide option on a craft script but this would be used at a bank and hiding is low.
event macro 13 21
wait 11000
if H in #charStatus
{
	gosub startcraft
}
return
Will this continue to try and hide until character is hidden and then move onto the crafting sub? If not, what am I doing wrong? Is there a better way to do this?
2. Using this meditation sub, where would I put in a hide event so that the character hides when meditation is done?
sub CheckMana
  menu delete scriptstatus
  Menu Font BGColor Black
  menu Font Color Lime
  menu text scriptstatus 95 100 Checking Mana
  set %_test ( 100 * #mana ) / #maxmana
  if ( %_test < 35 ) || ( #mana < %mana )
  {
    gosub actionblock
    menu delete scriptstatus
    Menu Font BGColor Black
    menu Font Color Lime
    menu text scriptstatus 95 100 Meditating
    event macro 13 46 ; meditate
    set %_tlastskill #systime + 10100
    while #mana < ( 95 * #maxmana / 100 )
    {
      gosub hardwait 1
      if %_tlastskill < #systime
      {
        gosub actionblock
        event macro 13 46 ; meditate
        set %_tlastskill #systime + 10200
      }
    }
    set %_diff #systime - %_tlastskill - 9000
    if %_diff > 0
    {
      set %_diff ( %_diff / 50 ) + 1
      gosub hardwait %_diff
    }
  }
return