Difference between revisions of "Atcommand"

From Hercules Wiki
Jump to: navigation, search
(Created page with "Category:Script_Command ==Syntax== * atcommand "Command Line"; ==Description== This command will run the given command line exactly as if it was typed in from the keyb...")

Revision as of 23:11, 10 June 2013

Syntax

  • atcommand "Command Line";

Description

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.

This command has a lot of good uses, I am sure you can have some fun with this one.

Examples

// This will ask the invoker for a character name and then use the '@nuke'
// GM command on them, killing them mercilessly.
input @player$;
atcommand "@nuke "+@player$;