-
Notifications
You must be signed in to change notification settings - Fork 0
How to code your own script?
Roman edited this page Feb 12, 2022
·
7 revisions
Step 1: Create text file with any name
Step 2: Replace .txt in file name to .mas
Step 3: Open it with any text editor (i prefer Intelij IDEA or AkelPad) and use these:
Want comment? use ||!
Example:
sendChat "example" || Sending something to chat
(you can use it after methods)
or just
|| My own script lol
(or just in line)
Methods:
sendKey <keyname> <time>
holds for seconds NOT WORKING
sendChat <message>
sends to chat (visible only for you and OPs)
sendBar <message>
sends to actionbar (visible only for you)
sendError <message>
sends with red color (visible only for you)
wait <time>
pauses the script for seconds