use_skill vs cast (HELP!)

icon315

Member
PHP:
void main(string target) 
{
	if (have_skill($skill[The Smile of Mr. A.]))
	{
           cli_execute("cast 1 smile on "+ target);
	}
	else
	{
		print("You don't have the skill!");
	}
}

That is a simple script that should work, or if you want the SAME person daily; just add this:

PHP:
cli_execute("cast 1 smile on <player>");
to your log in script
 
Last edited:
Top