I'm sure this has been answered before, but none of my searches have found it...
I'm trying to make a script that uses a variable to set my AFK and at keyboard states... i did that via popups.
.Set as AFK: {
%AFK = true
/echo 10* You are now marked as AFK.
/gtalk -k Al-Jibob Ok boss, see you in a bit. i'll handle things around here.
}
.Set as AK: {
%AFK = false
/echo 10* You are now marked as AK.
/gtalk -k Al-Jibob Welcome back boss.
}
%AFK is defined in my variables section.
Then i made a basic script to say "I'm AFK, be back later." if someone says my name.
on *:TEXT:*liz*:#: {
if(%AFK == true) {
/echo 10* Auto-Responded to a name.
/say I'm AFK at the moment. i'll be back later.
}
}
this is all straight from my scripts.
for some reason, wihtout any warning or anytthing like what i was after, it fires and i look extremely stupid in the middle of a conversation. regardless of if i've set myself as AK or AFK.