REQ: irc-script für einem n00b

Seite 1 von 1 - Forum: Coding Stuff auf overclockers.at

URL: https://www.overclockers.at/coding-stuff/req_irc-script_fuer_einem_n00b_66046/page_1 - zur Vollversion wechseln!


thr|janus schrieb am 06.02.2003 um 00:16

hallo!

bräucht ein script das in einer loop alle 10sekunden einen befehl ausführt bzw. einfach nur was "sagt".

kenn mich aba nüsse mit irc-scripting aus und will mich eigentlich auch nicht damit beschäftigen ;)

tia, janus


that schrieb am 06.02.2003 um 00:21

dann bist du offenbar im falschen Forum.


atrox schrieb am 06.02.2003 um 02:12

eine spur eigeninteresse, selbstständigkeit und der wille neues zu erforschen muß schon vorhanden sein.
wir helfen gerne, aber fremder leuten arbeit tun, oder gar ihnen das denken abzunehmen ist nicht die aufgabe dieses forums.


atrox schrieb am 06.02.2003 um 12:38

Zitat
thr|janus after some PM-conversation:
tut ma leid dass das ganze so ein großes problem gworden is, aber ich will mich wirklich nicht damit beschäftigen sondern hätte nur darauf gwartet dass ein netter mensch daherkommt der sich mit dem ganzen zeug gut auskennt und mir da schnell ein skript hinschreibt...

ich überlasse den thread wieder der öffentlichkeit - auch wenn manches offen bleibt.


d3cod3 schrieb am 06.02.2003 um 13:20

was is überhaupt der sinn von so nem "spam script"? kriegst eh überall nen ban.

edit: für welchen client sollte das script denn sein?


Daroude schrieb am 06.02.2003 um 13:23

Ich glaub die meistens Scripts können das eh, weiss jetzt leider nix auswendig da ich schon länger nix mehr ausm irc saug.

Schau amal auf die mirc page, oder im google.

Edit: 10 sec intervall könnte jedoch ein problem sein, weil da wirst bestimmt recht fix gekickt werden wegen spam...


d3cod3 schrieb am 06.02.2003 um 13:28

mirc:

/timer[N/name] [-ceomhipr] [time] <repetitions> <interval> <command>
Activates the specified timer to perform the specified command at a specified interval, and optionally at a specified time.

If you are not connected to a server and you start a timer, it defaults to being an offline timer which means it will continue to run whether you are connected to a server or not.

If you are connected to a server and you start a timer, it defaults to being an online timer, which means that if you disconnect from the server, it will be turned off. You can specify the -o switch to force it to be an offline timer.

/timer1 0 20 /ame is AWAY!

Timer1 will repeat an all channel action every 20 seconds until you stop the timer.

If you specify a delay of 0 seconds, the timer will trigger immediately after the calling script ends.

/timer5 10 60 /msg #games For more info on the latest games do /msg GaMeBoT info

Timer5 will repeat this message to channel #games every sixty seconds and stop after 10 times.

/timer9 14:30 1 1 /say It's now 2:30pm

This will wait until 2:30pm and will then announce the time once and stop.

To see a list of active timers type /timers. To see the setting for timer1 type /timer1. To deactivate timer1 type /timer1 off. To deactivate all timers type /timers off. If you are activating a new timer you do not need to specify the timer number, just use:

/timer 10 20 /ame I'm not here!

And mIRC will allocate the first free timer it finds to this command.

If you specify the -c switch, this makes mIRC "catch up" a timer by executing it more than once during one interval if the real-time interval isn't matching your requested interval.

If you specify the -m or -h switch, this indicates that the interval delay is in milliseconds.

Note: The -h switch creates a high-resolution multimedia timer. This type of timer should only be used in critical timer situations since it uses system resources heavily.

If you specify the -e switch, this executes the command associated with the specified timer name, also works if you specify a wildcard name.

The $ltimer identifier returns the number of the timer that was just started by the /timer command.

Instead of using a number you can also specify a name for a timer.

/timershow 0 10 echo -a $nick $server $time

You can force identifiers to be re-evaluated when used in a /timer command by using the format $!me or $!time.

If you wish to turn off a range of timers, you can use a wildcard for the number, for example:

/timer3? off

Will turn off all timers from 30 to 39.

The -pr switches pause and resume a timer respectively.

The -i switch makes a timer dynamically associate with whatever happens to be the active connection. If a server window is closed, the timer is associated with the next available server window.


thr|janus schrieb am 06.02.2003 um 14:09

mhm gut thx!
a frage wo soll ich das reinschreiben? :o *duck* *wegrenn* :)
na ehrlich, ich kenn mich da nüsse aus, das script selber zusammenschreiben wird ja jetzt dank d3cod3 (hoffentlich) kein großes problem mehr sein..


d3cod3 schrieb am 06.02.2003 um 14:31

hm. soweit ich mich erinner gabs im mirc nen butten "remote scripts". dort rein. oder in die scripts.ini

kann das leider nur mehr wage sagen da i kein mirc mehr hab.


thr|janus schrieb am 06.02.2003 um 15:19

thx for help!

ich hab bissl umadum probiert, ob mans auch in dieses remote-dings-scriptfenster reinschreiben kann weiß ich nicht, man kann aber timer einfach mit /timer blabla starten..




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025