User Tools

Site Tools


reference:server_commands:frequently_used_script

Frequently used commands for Script

Here is a brief list of some of the commands you'll probably use regularly when scripting your world.

*effect

*effect [PLAYERNAME] [EFFECT_NUM]
Triggers a special effect on the specified player.

*event

*event [PLAYERNAME] [CUSTOM_EVENT_NAME]
Triggers a specific custom script event for the named player.

*grantcash

*grantcash [PLAYER_NAME] [AMOUNT_IN_DENARI]
Gives cash to the named player.

*grantitem

*grantitem [PLAYER_NAME] [QUANTITY] [ITEM_NAME]
Adds (or removes, if negative quantities are used) the item to the player's inventory.

*grantskill

*grantskill [PLAYER_NAME] [SKILL_NAME]
Gives a skill to the named player.

*grantkudos

*grantkudos [PLAYER_NAME] [AMOUNT]
Gives kudos to the named player. (Note that this does not automatically replicate to online players, the alternative *setkudos does)

*playmusic

*playmusic [PLAYER_NAME] [MP3_URL]
Plays music for the player. The URL should specify the web address of an mp3 file which the player will download and then play.

*say

*say [TEXT]
Prints the text in red in the chatlog for all connected players.

reference/server_commands/frequently_used_script.txt · Last modified: 2020/01/28 17:49 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki