Sponsors

Platform:  mIRC
Published  May 29, 2011
Updated  May 29, 2011
Here is a command that when you type something in your chat ex. !rawr your sponsors will come up :D






Edit the parts: [yourcommandwordhere]
[#ofsponsors]
sponsor 1
sponsor 2
sponsor 3
sponsor 4
sponsor 5
sponsor 6
sponsor 7
You can replace these words with whatever you want, it can also be used as something other than for sponsors. on *:TEXT:[yourcommandwordhere]:#:{
if ($nick isop #) {
msg $chan We currently have [#ofsponsors]
.timer 1 2 msg $chan --> sponsor 1
.timer 1 4 msg $chan -->sponsor 2
.timer 1 6 msg $chan --> sponsor 3
.timer 1 8 msg $chan --> sponsor 4
.timer 1 10 msg $chan -->sponsor 5
.timer 1 12 msg $chan --> sponsor 6
.timer 1 14 msg $chan --> sponsor 7
else {.notice $nick you not authorized to use this command }
}

Comments

Sign in to comment.
Wader   -  May 30, 2011
Practice and logic :)

Alot of it is practice, familiarizing yourself with alot of the identifiers helps.
 Respond  
reider45   -  May 30, 2011
hey dude where did u learn all of this advanced scripting?????? Jethro_?
 Respond  
Jethro   -  May 29, 2011
You can use a while loop with one second delay like this:

Code

 
so you don't have to repeat msg # all the way from 1 to 7, along with several timers jotted down.
 Respond  
Jethro   -  May 29, 2011
Wader, you need a value for %antispam when you use /set:

Code

 
You can use /inc so you don't have to.
 Respond  
Wader   -  May 29, 2011

Code

 


My take with a 5 sec antispam so the bot doesnt get flooded off the server.
 Respond  
reider45   -  May 29, 2011
well i use this and it wont happen because only mods can use it.
 Respond  
dsabecky   -  May 29, 2011
I'd strongly recommend stacking "sponsors" in a single message to prevent spam.
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.