ENs Hide Sub
gosub ENs_hide
gosub ENs_hide 1 ; the number of hide attempts - if nothing passed defaults to 1
;===========================================
; ~~ Hide
;===========================================
Sub ENs_Hide
IF %EN_HideTimer = N/A
set %En_hideTimer #scnt - 20
If %0 < 1 || %0 = N/A
Set %1 1
Set !MaxAttempts %1
If H In #CharStatus
{
goSub GLOBALSetStatus No need to Hide your Hidden
}
ELSE
{
goSub GLOBALSetStatus Attempting To Hide
FOR !Hide_Attempts 1 !MaxAttempts
{
If !Hide_Attempts > 1
{
For !Count 12 1
{
goSub GLOBALSetStatus Hide Attempt , #Spc , !Hide_attempts , #Spc , of , #spc , !MaxAttempts , #spc , -- In: , #Spc , !Count
Wait 1s
}
}
goSub GLOBALSetStatus Attempting To Hide !Hide_attempts , #Spc , of , #spc , !MaxAttempts
EVENT macro 13 21
set %EN_HideTimer #Scnt + 12
wait 10
If H In #CharStatus
{
goSub GLOBALSetStatus Successfully Hiden.
Set !Hide_Attempts !MaxAttempts
}
}
If H NotIn #CharStatus
goSub GLOBALSetStatus Hide Attempt Failed.
}
return