Dies ist eine alte Version des Dokuments!


MSG-Poll

#NewScriptBegin PollScript
 
Dim MyFrameID
Dim MyUser
Dim MyText
 
Sub StartPoll(User, Text)
  MyFrameID = FrontFrameID
  print "- Channel gesetzt"
  StartTimer 5000
  MyUser = User
  MyText = Text
End Sub
 
Sub TimerEvent(TimerID)
  if GetListIndex(MyFrameID, MyUser) <> -1 Then
    print "- Poll at " & MyUser, MyFrameID
    send MyText, FrontFrameID
  else
    print "- " & MyUser & " isn't on", MyFrameID
  End if
End Sub

Eigene Werkzeuge