13.04.2003, 14:01 Uhr
Habe ein Problem mit folgenden Script. Er soll bestimmte nur im angegebenen Channel labern (#udc-clan).
Kann mir mal jemand das script debuggen oder sagen was ich falsch mache .. ???
:
:
:
:
:
:
THX 4 answer ...
Kann mir mal jemand das script debuggen oder sagen was ich falsch mache .. ???
Zitat:Sub Init()
'udc-clan'
Script "udc-clan laberscript"
Hook "Chan_msg"
End Sub
Sub chan_Msg(chan, Nick, RegUser, Line)
If " & chan & " = "#udc-clan" then
Select Case LCase(Param(Line, 1))
Case "!games"
SendLine "privmsg " & chan & " :--------------Server--------------", 3
SendLine "privmsg " & chan & " :UDC´s Battlefield of the flying Döner", 3
SendLine "privmsg " & chan & " :62.93.201.31:27008", 3
SendLine "privmsg " & chan & " :Pass Wort: udc", 3
Case "!hp"
SendLine "PRIVMSG " & chan & " :--------------Home-Page--------------", 3
SendLine "PRIVMSG " & chan & " :http://www.udc-clan.com", 3
Case "!help"
SendLine "NOTICE " & nick & " :--------------Help--------------", 3
SendLine "NOTICE " & Nick & " :Befehlsübersicht des Bots:", 3
SendLine "NOTICE " & Nick & " :*** !server", 3
SendLine "NOTICE " & Nick & " :*** !tv <Kanal> <Zeit>", 3
SendLine "NOTICE " & Nick & " :*** !wetter <PLZ>", 3
SendLine "NOTICE " & Nick & " :*** !partner", 3
SendLine "NOTICE " & Nick & " :*** !hp", 3
SendLine "NOTICE " & Nick & " :*** !date", 3
SendLine "NOTICE " & Nick & " :*** !time", 3
case "!sommer-ferien"
SendLine "Privmsg " & chan & " : SeX miT MäNNerN", 3
End Select
END IF
END SUB
THX 4 answer ...