↓ Skip to main content

tf afk script

·95 words·1 min

defines a /afk macro that toggles afk, updates title, and auto lurks.

/set title %s
/set isafk 0

/def afk = \
	/if ({isafk} == 0) \
		/set isafk 1 %; \
		lurk on %; \
		title %title \\d10<<\\d09A.F.K\\d10>> %; \
	/elseif ({isafk} == 1) \
		/set isafk 0 %; \
		lurk off %; \
		title %title %; \
	/endif

/def doafk = \
	/if ({connected} == 1) \
		/if ({isafk} == 1) \
			yawn %; \
		/endif %; \
	/endif

/repeat -60 i /doafk

Can you post your Ruby dropping script? :P :shock: :twisted: