Difference between revisions of "User:Rayth"

From Mudlet
Jump to navigation Jump to search
(Created page with "<table> <th></th> <th>Test1</th> <th>Test2</th> <tr> <td> Test1 </td> </tr> </table> <table> <th></th> <th>Mudlet</th> <th>Nexus</th> <tr> <td> Variables * Setting * Clearing ...")
 
Line 10: Line 10:
 
</table>
 
</table>
  
<table>
+
<table border="1" width="100%">
<th></th>
 
 
<th>Mudlet</th>
 
<th>Mudlet</th>
 
<th>Nexus</th>
 
<th>Nexus</th>
 
<tr>
 
<tr>
<td>
+
<td><variable name> = "<text value>"</td>
Variables
+
<td><p>#set <variable name> <text value></p></td>
* Setting
 
* Clearing
 
* Math
 
</td>
 
<td>
 
* <variable name> = "<text value>"
 
* <variable name> = <expression>
 
* <variable name> = nil
 
* <variable> = <variablename> <+ - / *> <number or variable>
 
</td>
 
<td>
 
* #set <variable name> <text value>
 
* #set <variable name> = <expression>
 
* #unset <variable name>
 
* #add <variablename> <expression>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>
+
<td><variable name> = <expression></td>
Echo
+
<td><p>#set <variable name> = <expression></p></td>
</td>
 
<td>
 
echo "text\n" or echo("text\n")
 
<br>
 
echo "text" or echo("text")
 
</td>
 
<td>
 
/#echo <text>
 
<br>
 
#echo_ <text>
 
</td>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>
+
<td><variable name> = nil</td>
Enabling Groups/Aliases/Triggers/Keybindings/Timers
+
<td><p>#unset <variable name></p></td>
</td>
 
<td>
 
enableAlias("<group name>")
 
<br>enableTrigger()
 
<br>enableKey()
 
<br>enableTimer()
 
</td>
 
<td>
 
#groupon <group name>  
 
</td>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>
+
<td><variable> = <variablename> <+ - / *> <number or variable></td>
Disabling Groups/Aliases/Triggers/Keybindings/Timers
+
<td><p>#add <variablename> <expression></p></td>
</td>
+
</tr>
<td>
+
<tr>
disableAlias("<group name>")
+
<td>echo "text\n" or echo("text\n")</td>
<br>disableTrigger()
+
<td><p>#echo <text></p></td>
<br>disableKey()
+
</tr>
<br>disableTimer()
+
<tr>
</td>
+
<td>echo "text" or echo("text")</td>
<td>
+
<td><p>#echo_ <text></p></td>
!#groupoff <group name>
+
</tr>
</td>
+
<tr>
 +
<td>enableAlias("<group name>")/enableTrigger()/enableKey()/enableTimer()</td>
 +
<td><p>#groupon <group name></p></td>
 +
</tr>
 +
<tr>
 +
<td>disableAlias("<group name>")disableTrigger()disableKey()disableTimer()</td>
 +
<td><p>#groupoff <group name></p></td>
 +
</tr>
 +
<tr>
 +
<td>selectString (line, 1) bg("<color>") resetFormat()</td>
 +
<td><p> #highlight <color></p></td>
 +
</tr>
 +
<tr>
 +
<td>deleteLine()</td>
 +
<td><p>#gag</p></td>
 +
</tr>
 +
<tr>
 +
<td>openUrl("<url>")</td>
 +
<td><p>#openurl <url></p></td>
 +
</tr>
 +
<tr>
 +
<td>send("<stuff>")</td>
 +
<td><p>#send <text></p></td>
 +
</tr>
 +
<tr>
 +
<td>sendAll("hi", "hello", "bye")</td>
 +
<td><p>#send_ hi #send_ hello #send bye</p></td>
 +
</tr>
 +
<tr>
 +
<td>tempTimer(<time in s>, [[ <nowiki><lua code to do once time is up></nowiki> ]])</td>
 +
<td><p>#wait <milliseconds></p></td>
 +
</tr>
 
</table>
 
</table>

Revision as of 20:42, 7 July 2011

Test1 Test2

Test1

Mudlet Nexus
<variable name> = "<text value>"

#set <variable name> <text value>

<variable name> = <expression>

#set <variable name> = <expression>

<variable name> = nil

#unset <variable name>

<variable> = <variablename> <+ - / *> <number or variable>

#add <variablename> <expression>

echo "text\n" or echo("text\n")

#echo <text>

echo "text" or echo("text")

#echo_ <text>

enableAlias("<group name>")/enableTrigger()/enableKey()/enableTimer()

#groupon <group name>

disableAlias("<group name>")disableTrigger()disableKey()disableTimer()

#groupoff <group name>

selectString (line, 1) bg("<color>") resetFormat()

#highlight <color>

deleteLine()

#gag

openUrl("<url>")

#openurl <url>

send("<stuff>")

#send <text>

sendAll("hi", "hello", "bye")

#send_ hi #send_ hello #send bye

tempTimer(

#wait <milliseconds>