Fix please
Posted by foofy
Saturday, September 04, 2004
Description: Fix this code please i donno how to edit it

;Advertise Bot - Sleeper
/nick $?="Enter My Nick here"
/join $?="Enter Channel"
/join $?="Enter Channel"
/join $?="Enter Channel"
set %ads $?="Enter Ad to be broadcasted to all channels"
/timerads 0 30 /msg $dde(mirc,channels) %ads
??
Posted by nemm91
Saturday, September 04, 2004 05:49pm PDT
Comment
use it like this
Posted by Fubar
Saturday, September 04, 2004 06:22pm PDT
alias advertise {
/nick $?="Enter My Nick here"
/join $?="Enter Channel"
/join $?="Enter Channel"
/join $?="Enter Channel"
set %ads $?="Enter Ad to be broadcasted to all channels"
/timerads 0 30 /msg $dde(mirc,channels) %ads
}

put that in remotes (alt+r) and type /advertise
Channels
Posted by Sigh
Sunday, September 05, 2004 02:41am PDT
In sending a privmsg to multiple targets you must separate them with a comma, so you must use $replace($dde(mirc,channels),$chr(32),$chr(44))

A quote from the help file under DDE information:

Example: This should only be called by an application, not from within an mIRC alias.

Although I haven't encountered any problems with using it in that way, other than the fact that if you're on multiple networks it will return all channels on all networks, the help file does advise against it so if you run into any problems you could consider using /amsg %ads instead which does also support multiple targets
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world