PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: TomTom on 25 July, 2009, 09:13:13

Title: AFK / Away script
Post by: TomTom on 25 July, 2009, 09:13:13
Hi,

i search for an away/afk sricpt to leave an away message for the other users. And a simple back function to cancel.

Sorry, but i can't find anything for Lua 5.1.3 :-(

Maybe anyone can help me?

Thanks for listen me and your efforts.




Title: Re: AFK / Away script
Post by: DeAn on 25 July, 2009, 12:11:52
Here is the Awayer script by Madman which you are looking for LUA 5.1.3

http://forum.ptokax.org/index.php?topic=8431.msg77813#msg77813
Title: Re: AFK / Away script
Post by: TomTom on 25 July, 2009, 13:13:28
thx for this fast answer, but i've get this error as i try out syntax check:

"Syntax [string "-- Awayer 1.2..."]:24: attempt to index global 'SetMan' (a nil value)"

I'm a absolute beginner, so i think the error is not in the program but he's sitting in front of the PC :-)


What did i have done wrong?
Title: Re: AFK / Away script
Post by: PPK on 25 July, 2009, 13:17:51
Syntax check showing always error when you use it and hub is not running (it's bug that will be fixed in future PtokaX version).
Title: Re: AFK / Away script
Post by: TomTom on 25 July, 2009, 15:05:06
OHHH yes, that was the problem :-)

it works fine.

Thx for your patience and the fast support!