NTSL Scripts: Difference between revisions

123 bytes removed ,  10:17, 8 September 2019
no edit summary
No edit summary
No edit summary
Line 6: Line 6:
'''[[NT_Script#Simple_Guide_to_Using_Scripts|For a guide how to use these scripts look here.]]'''
'''[[NT_Script#Simple_Guide_to_Using_Scripts|For a guide how to use these scripts look here.]]'''


==Useful Non-Malicious Scripts==
==Useful Scripts==
=== Job Indicator ===
=== Job Indicator ===
Shows everyone's jobs.
Jobs will appear in brackets after names.


<pre>if (!find($source, "Unknown") && $job != "No id" && !find($source, " (as ")) {
<pre>sig.source+=" ("+sig.job+")";</pre>
  $source = $source + " (" + $job + ")"; } // Add job next to people's names.</pre>


=== Arrivals Alert Modification ===
=== Arrivals Alert Modification ===
8

edits