Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

nettalk:scripting:breakmarker [2010/10/05 22:09] (aktuell)
mirici angelegt
Zeile 1: Zeile 1:
 +====== Break Marker======
  
 +<code vb>
 +
 +#​NewScriptBegin BreakMarker
 +
 +Sub Load()
 +  LastMsgList(0) = ""​
 +End Sub
 +
 +Sub Chan_Msg(Text,​ Nick, Channel, FrameID, ConnID)
 +  If LastMsgList(FrameID) <> ""​ Then
 +    PassedMins = DateDiff("​n",​ LastMsgList(FrameID),​ Now)
 +    if PassedMins > 10 Then
 +      Print "- Last message was written " & PassedMins & " minutes ago", FrameID, valcClientMsg
 +      Print "​---------------------------------------------------------",​ FrameID, valcClientMsg
 +    End if
 +  End If
 +  LastMsgList(FrameID) = Now
 +End Sub
 +</​code>​

Eigene Werkzeuge