Jump to content

  •  

timo0o

Member Since 04 Jan 2015
Offline Last Active Nov 18 2016 02:50 PM
-----

Posts I've Made

In Topic: Anti AFK Script

15 September 2016 - 08:30 PM

bump


In Topic: AFK Homunculus

14 September 2016 - 05:55 PM

Generally, this error is due to space used instead of tabs.

Type "-<tab>script<tab>vaporize<tab>-1,{"

 

OK. Now it says

 

scirpt error in file 'afk.txt' line 9 column 13 parse_simpleexpr: unmatched ')'
...
...
9: if(getidle() >=$antiakf) {
...
...
...

In Topic: AFK Homunculus

10 September 2016 - 08:40 PM

Can't test it right now, but this should do the job

 

- script vaporize -1,{
 
OnPCLoginEvent:
	addtimer 60000,strnpcinfo(0)+"::On1min";
	end;
 
On1min:
	if(gethominfo(2) != "null"){
		if(getidle() >= $antiafk) {
			atcommand "@useskill 244 1 "+strcharinfo(0);
			dispbottom "You are not allowed to farm with Homun while AFK.";
			addtimer 60000,strnpcinfo(0)+"::On1min";
		}
	}
	addtimer 60000,strnpcinfo(0)+"::On1min";
	end;
	
OnInit:
	set $antiafk, 120;// how many seconds to use vaporize
	end;
}

 

 

 

 

Need this script,too.

 

But your script give this error:

 

[ERROR]: npc_parsesrcfile: Unknown syntax in file 'antiafk.txt', line '1'. Stopping...
* w1=- script vaporize -1,{
* w2=
* w3=
* w4=

In Topic: [Pre-Release] Payment Wall - FluxCP addon

07 September 2016 - 06:39 AM

Thanks, pingback is successful now!


In Topic: [Pre-Release] Payment Wall - FluxCP addon

06 September 2016 - 09:56 AM

The pingback test fails anyway. :(