The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Safa"

From ATITD7
Jump to navigationJump to search
Line 111: Line 111:
 
===blank.lua===
 
===blank.lua===
  
<b><pre>
+
<table width="100%" style="font-family: Verdana;"><tr><td bgcolor="242424">
--Blank Macro File
+
<b>
dofile("common.inc");
+
<li><font color="8c8c88">--Blank Macro File
 
+
<li><font color="1ecc80">dofile<font color="f1f8f2">(<font color="ece47e">"common.inc"<font color="f1f8f2">);
--Exit Loop?
+
<li>
is_done = false;
+
<li><font color="8c8c88">--Exit Loop?
 
+
<li><font color="f1f8f2">is_done = <font color="f10062">false<font color="f1f8f2">;
 
+
<li>
askText = singleLine([[Hit SHIFT to begin.]]);
+
<li><font color="f1f8f2">askText = singleLine(<font color="ece47e"><nowiki>[[Hit SHIFT to begin.]]</nowiki>
 
+
<font color="f1f8f2">);
function doit()
+
<li>
  askForWindow(askText);
+
<li><font color="f10062">function <font color="f1f8f2">doit()
  askForFocus();
+
<li>&nbsp;&nbsp;  askForWindow(askText);
  Run();
+
<li>&nbsp;&nbsp;  askForFocus();
end
+
<li>&nbsp;&nbsp;  Run();
 
+
<li><font color="f10062">end
 
+
<li>
function Run()
+
<li>function <font color="f1f8f2">Run()
--Loop
+
<li><font color="8c8c88">--Loop
  while not is_done do
+
<li><font color="f10062">&nbsp;&nbsp;while not <font color="f1f8f2">is_done <font color="f10062">do
    checkBreak();
+
<li><font color="f1f8f2">&nbsp;&nbsp;&nbsp;&nbsp;checkBreak();
 
+
<li>
    lsPrint(0, 0, 2, 1.0, 1.0, 0xFFFFFFFF, "hello.");
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;lsPrint(<font color="c472ac">0, <font color="c472ac">0<font color="f1f8f2">, <font color="c472ac">2<font color="f1f8f2">, <font color="c472ac">1.0<font color="f1f8f2">, <font color="c472ac">1.0<font color="f1f8f2">, <font color="c472ac">0xFFFFFFFF<font color="f1f8f2">, <font color="ece47e">"hello."<font color="f1f8f2">);
 
+
<li>
 
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;<font color="f10062">if <font color="f1f8f2">lsKeyDown(<font color="ece47e">"q"<font color="f10062">)<font color="f10062"> then
    if lsKeyDown("q") then
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="f1f8f2">is_done = <font color="c472ac">1<font color="f1f8f2">;
      is_done = 1;
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;<font color="f10062">end
    end
+
<li>
 
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;<font color="f1f8f2">lsDoFrame();
    lsDoFrame();
+
<li>&nbsp;&nbsp;&nbsp;&nbsp;lsSleep(<font color="c472ac">10<font color="f1f8f2">);
    lsSleep(10);
+
<li>&nbsp;&nbsp;<font color="f10062">end
  end
+
<li>end
end
 
</pre></b>
 
  
 
===chariot_stop.lua===
 
===chariot_stop.lua===

Revision as of 18:52, 11 August 2016



L1.jpg
L2.jpg

Automato Scripts

  • blank.lua
  • chariot_stop.lua
  • grass.lua
  • gravel.lua
  • markChatsAsRead.lua
  • mod_assist.lua
  • oven_timer.lua
  • resin.lua
  • sculptor.lua
  • zemples_stock.lua
  • zemples_take.lua
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code
    • Preview Code

    Line.jpg

    Art & Thought Tests

    PassedFormal Garden @1531,2274 River Plains
    PassedConstellation @1583,2887 River Plains
    PassedTomb of the Immortal @1581,2887 River Plains
    PassedRaeli Mosaic @1610,2847 River Plains
    PassedRaeli Gliderport @1586,2886 River Plains

    Line.jpg

    ATITD Discord (Voice Chat) Server

    Discord_Logo http://www.discord.me/atitd No download required.

    You can reach me from this link if im not available in-game.

    Line.jpg

    Links & Resources

    http://services.atitd.org/log.php

    http://www.atitd.org/wiki/tale7/Guilds/zFree

    http://www.atitd.org/wiki/tale7/Guilds/zFree/Zfree_Project_list_and_status

    http://www.atitd.org/wiki/tale7/Guilds/Zemples

    http://www.atitd.org/wiki/tale7/Guides/River_Plains_Gem_School

    ATITD Logo SVG Full size egypt map (9MB) In-game colors ATITD OST


    R1.jpg
    R2.jpg


    Automato Scripts

    blank.lua

  • --Blank Macro File
  • dofile("common.inc");
  • --Exit Loop?
  • is_done = false;
  • askText = singleLine([[Hit SHIFT to begin.]] );
  • function doit()
  •    askForWindow(askText);
  •    askForFocus();
  •    Run();
  • end
  • function Run()
  • --Loop
  •   while not is_done do
  •     checkBreak();
  •     lsPrint(0, 0, 2, 1.0, 1.0, 0xFFFFFFFF, "hello.");
  •     if lsKeyDown("q") then
  •       is_done = 1;
  •     end
  •     lsDoFrame();
  •     lsSleep(10);
  •   end
  • end

    chariot_stop.lua

    Notes

    ------------------------------------------------------------------------------------------------------------------------------------------------------
    Google Spreadsheet Embed Example (GoogleDocs Plugin)
    
    Use File > Publish to Web to make your document public. Copy the bit after "https://docs.google.com/spreadsheets/d/" and paste it as ID to below code.
    <googlespreadsheet height="600" width:"100%">ID_Goes_Here</googlespreadsheet>
    
    ------------------------------------------------------------------------------------------------------------------------------------------------------