Ok so this is a snippet of the working code.

****************Working****************

on *:text:!stats*:#: {
if (%account [ $+ [ $nick ] ] == on) && ($2 == $null) {
/msg $chan 8,17Your Stats8 7Name:15 %name [ $+ [ $nick ] ] 87Health:15 %health [ $+ [ $nick ] ] 87Thirst:15 %thirst [ $+ [ $nick ] ] 87Age:15 %age [ $+ [ $nick ] ] 87Rank:15 %rank [ $+ [ $nick ] ]
}
elseif (%account [ $+ [ $nick ] ] == on) && ($2 != $null) {
/msg $chan 8,17 $2 $+ 's Stats8,1 7Name:15 %name [ $+ [ $2 ] ] 87Health:15 %health [ $+ [ $2 ] ] 87Thirst:15 %thirst [ $+ [ $2 ] ] 87Age:15 %age [ $+ [ $2 ] ] 87Rank:15 %rank [ $+ [ $2 ] ]
}

************endworking**********

Now this is the snippet of what i'm trying to integrate into the above snippet.

*******************WIP***********************
else (%member [ $+ [ $nick ] ] == on) && ($2 == (%account [ $+ [ $nick ] ] == off) {
/msg $chan Sorry $nick $2 is on LOA, they set themself to LOA on %LOATIME [ $+ [ $nick ] ]
}
}
ON *:text:!LOA:#: {
if (%account [ $+ [ $nick ] ] == on) {
set %account [ $+ [ $nick ] ] off
set %LOA [ $+ [ $nick ] ] ON
set %LOATIME [ $+ [ $nick ] ] $asctime
/msg $chan $nick is now set to LOA.
}
}

ON *:text:!LOAreturn:#: {
if (%account [ $+ [ $nick ] ] == off) {
set %account [ $+ [ $nick ] ] on
set %LOA [ $+ [ $nick ] ] OFF
del %LOATIME [ $+ [ $nick ] ]
/msg $chan $nick has returned from LOA.
}
}
****************endWIP******************

Any help would be nice, when I test the bot and set myself to !LOA it tells me myself and everyone is LOA... but everyone else can see my stats and still see each others

Thank you!


-Chan: #WolvenSpirit -Server: Irc.Sorcery.Net