Moderator: MacroQuest Developers
Code: Select all
Sub Main
/press /
/press e
/press n
/press d
| your code goes here
/returnCode: Select all
Sub Main
/call TypeString "/endmacro"
/return
Sub TypeString
/if n $strlen($p0)==0 {
/echo Syntax: /call TypeString "My String Here"
/endmacro
}
/press Enter
/for l0 0 to $calc($strlen($p0)-1)
/press $mid($l0,1,$p0)
/next l0
/return