# LazyScript Tutorial Action
Known Skill/Action List
===================
Can use specific skill rank for specific unit, syntax:
action[(rankXX)][@]
can be any valid UnitId sequence, see [http://web.archive.org/web/20070422180647/http://www.wowwiki.com/UnitId]. For example, @player, @pet, @target, @targettarget. Please note, spell rank must always appear before the "@" symbol.
Green skills/actions have no GCD, LazyScript can execute any number of no GCD skills with at most one GCD skill in one line.
Skill full name = Skill abbreviation
----------------------
See in-game help
Actions with Parameters
------------
Use action:
action=<action/macro name>
Use no GCD action:
freeAction=<action/macro name>
Use pet skill:
petAction=
Use item in equipment or bag:
use=
Use equipped item:
useEquipped=
Use no GCD item in equipment or bag:
useFreeItem=
Use equipped no GCD item:
useFreeEquippedItem=
Apply poison, oil, sharpening stone to weapon:
apply{MainHand,OffHand}Buff=
Equip weapon in main hand:
equipMainHand=
Equip weapon in off hand:
equipOffHand=
Display message in chat window:
echo=
Send message in specified channel:
sayIn{Emote, Guild, Minion, Party, Raid, RAID_WARNING, Say, Yell} =
Whisper to specified player or unitId:
whisperTo{playerName, } =
Cancel specified buff:
cancelBuff=
Cancel buff not in list:
cancelBuffTitle=
Set specified script as default script:
setForm=<script>
Set specific unit as target:
targetUnit=
Cast skill on specific unit:
spellTargetUnit=
Select player/creature by name as target:
targetByName=
Use emote, see [https://web.archive.org/web/20071213125504/http://www.wowwiki.com/API_TYPE_Emotes_Token]:
doEmote=
Play sound, see [https://web.archive.org/web/20071214171353/http://www.wowwiki.com/API_PlaySound]:
playSound=
Script Operations
--------
Include content of specified script:
includeForm=<script name>
Note: This action cannot attach judgment conditions. It must appear alone on one line. You cannot include the script itself in the script, nor should you cycle include scripts (e.g., script A includes script B includes script A == BAD).
Call specified script:
callForm=<script name>
If callForm action's judgment conditions are met, will try to find available skills in the specified script.
- 本文固定链接: https://www.dungeonraid.com/2026/04/lazyscript-tutorial-action/
- 转载请注明: fengshen 于 Dungeon Raid 发表