Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

nettalk:scripting:gethostmask [2010/05/15 13:52]
mirici
nettalk:scripting:gethostmask [2010/05/15 13:57] (aktuell)
mirici
Zeile 6: Zeile 6:
   '​Register JOIN to get raw data from server including the hostmask   '​Register JOIN to get raw data from server including the hostmask
   RegEvent "​JOIN",​ 0   RegEvent "​JOIN",​ 0
 + 
   RegEvent "​PRIVMSG",​ 0   RegEvent "​PRIVMSG",​ 0
 End Sub End Sub
Zeile 21: Zeile 21:
       SendData "MODE " & Replace(Split(RawData,​ 3), ":",​ ""​) & " +o " & Sender, ConnID       SendData "MODE " & Replace(Split(RawData,​ 3), ":",​ ""​) & " +o " & Sender, ConnID
     end if     end if
 + 
     if EventID = "​PRIVMSG"​ Then     if EventID = "​PRIVMSG"​ Then
       if Text = "​!hallo"​ then       if Text = "​!hallo"​ then
-        SendData "​PRIVMSG " & Split(RawData,​ 3) & " : Hallo!",​ ConnID+        SendData "​PRIVMSG " & Split(RawData,​ 3) & " :​Hallo!",​ ConnID
       end if       end if
     end if     end if

Eigene Werkzeuge