Need help with auto timed messages!!

Which is first - the egg or the chicken?

Need help with auto timed messages!!

Postby [DS]Matej » July 22nd, 2013, 3:06 pm

Hello all!
I'm looking for auto timed messages for my eggdrop shell!
Can someone help me?

Tnx :D
[DS]Matej
Member
 
Posts: 11
Joined: May 27th, 2013, 6:34 pm

Re: Need help with auto timed messages!!

Postby Slingshot » July 22nd, 2013, 3:11 pm

Image
User avatar
Slingshot
Power User
 
Posts: 10
Joined: March 7th, 2013, 12:25 pm

Re: Need help with auto timed messages!!

Postby husien » July 22nd, 2013, 3:23 pm

TRY THIS =
Code: Select all
# +Website : http://wWw.IRCStar.Org

# Set your channel
 
set send_chans "#ReMuSeR"

# Set Timer one line after X mins

set send_time "30"

# Set Your Messages. You can insert more messages caz is every X min an random message from the list..

set send_msg {
"Your Message"
"Your Message"
"Your Message"
"Your Message"
}

#########################################
#!!!!!!DO NOT EDIT AFTER THIS LINE!!!!!!#
#########################################

if {![string match "*time_send*" [timers]]} {
 timer $send_time time_send
}

proc time_send {} {
 global send_msg send_chans send_time
 if {$send_chans == "*"} {
  set send_temp [channels]
 } else {
  set send_temp $send_chans
 }
 foreach chan $send_temp {
  set send_rmsg [lindex $send_msg [rand [llength $send_msg]]]
 puthelp "PRIVMSG $chan :$send_rmsg"
timer $send_time time_send
return 1
 }
 }


putlog "Auto MSG By Dorin @ IRCStar.Org Loaded"
Last edited by munZe on September 2nd, 2013, 3:48 pm, edited 1 time in total.
Reason: Please put Code in Code tag ;)
husien
New Member
 
Posts: 1
Joined: June 18th, 2013, 5:43 pm


Return to All other

Who is online

Users browsing this forum: No registered users and 1 guest