Jump to content

Recommended Posts

Posted

Hi! With this little script you´ll be able to enable commands on the players who log in to your server.

prontera,155,175,0 script NPC -1,{
close;
OnPCLoginEvent:
	atcommand strcharinfo(0)+"@main on";
	atcommand strcharinfo(0)+"@autoloot",
	atcommand strcharinfo(0)+"@showexp",
close;
}

The code above is an example. You can add the commands you want!

Posted (edited)
but remember to change the GM levels for the commands in conf/atcommand_athena.conf

*atcommand "<command line>";


This command will run the given command line exactly as if it was typed in from the keyboard by the player connected to the invoking character,
and that character belonged to an account which had GM level 99.

Edited by Emistry
  • 2 weeks later...
Posted
but remember to change the GM levels for the commands in conf/atcommand_athena.conf

*atcommand "<command line>";


This command will run the given command line exactly as if it was typed in from the keyboard by the player connected to the invoking character,
and that character belonged to an account which had GM level 99.

AFAIK.. *atcommand" can be used for all type of levels ( Even 0 player with no privilege can

do @item ( if the script says so )...

ex :

conf/atcommand_athena.conf

item: 99,99 ( Only level 99 acc can do it )

atcommand @item 607 -> This syntax still works for level 0 player

Posted

what i refered above is that..last time the Topic Starter has request other member to adjust the Command Level so that the script can make use of the command..

and that was wrong..and i just post that message to remind the topic starter.....

and yes that atcommand will allow users to make use of all command even though your account is normal account

Posted

can this be made to an item? like say a reusuable item. If you use it, a menu shows up and you can toggle on or off what settings you want?

Posted

can this be made to an item? like say a reusuable item. If you use it, a menu shows up and you can toggle on or off what settings you want?

Requires src modification or even client modification (maybe)

what i refered above is that..last time the Topic Starter has request other member to adjust the Command Level so that the script can make use of the command..

and that was wrong..and i just post that message to remind the topic starter.....

and yes that atcommand will allow users to make use of all command even though your account is normal account

Oh I see.. :)

Posted

suggest format:

 atcommand "@main on "+strcharinfo(0);

actually

no need for "strcharinfo(0)"

for Example:

atcommand "@mapexit";
break;

since its not charcommand~

Posted

Why is it too much discussion about this xd...

- script cmd_npc -1,{
end;

OnPCLoginEvent:
if(getgmlevel() >= 10) { end; }

atcommand "@main on";
atcommand "@autoloot",
atcommand "@showexp",
//Add more commands here..
end;
}

If the player's GM Level is 10 or more, it will NOT trigger the commands when logging on.

Period.

Posted

can this be made to an item? like say a reusuable item. If you use it, a menu shows up and you can toggle on or off what settings you want?

you may use this Script

made by @llchrisll

I'm atm trying to add a few features to that script o.o, like saving the settings on the whole acc or just the char it is done already.

Also adding the autolootitem/alootid with multiply items, but well that is after my Arena Master [/advertize]

Btw, thanks for mentioning my script ;).

Regards,

Chris

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...