mIRC Homepage

Bot Double Posts

Posted By: wee493

Bot Double Posts - 13/04/08 05:56 PM

Today my Bot has been double and quadruple posting. I dont know why. I have looked at the .ini file and there is not two or three of anything. eek

Code:
on !*:join:#kidgurus-tech-world-: msg $chan Welcome to Tech-World $nick

on 1:TEXT:!winner:#:{
  if ($nick isop $chan || $nick ishop $chan) {
    msg $chan And the Winner is..... $nick($chan, $rand(1, $nick($chan, 0)))
  }
}


on 1:text:!topic*:#: {
  if ( $nick isop $chan || $nick ishop $chan ) {
    { /set %topic $2- | /topic $chan Topic: %topic
    }
  } 
}

on 1:TEXT:!time:#kidgurus-tech-world-:/msg $chan Kidguru's Current time is $time

on *:text:!kick*:?: {
  if ($0 >= 2) {
    kick #WyldRyde $$2 $$3-
  }
  else { notice $nick No nickname specified. }
} 

on *:text:!sponsors:#: {msg $chan Tech-World Sponsors are - Shiny White Box, Spongefish, J&M services, Vista Meets Nick, and Think Geek! }

on *:text:!regester:#: { msg $chan type "/msg nickserv register password email" to regester your Nick Name  }

on *:text:write on blog:#: { msg $chan http://tornadochas3r.biz/wee493/Files/blogaplication.pdf }
on *:text:write for blog:#: { msg $chan http://tornadochas3r.biz/wee493/Files/blogaplication.pdf }

on *:text:!staff:#: { msg $chan http://tech-world.co.nr/staff.htm }
on *:text:!website:#: { msg $chan http://techworld.co.nr }
on *:text:!site:#: { msg $chan http://techworld.co.nr }

on *:text:!forum:#: { msg $chan http://techworld.co.nr/forums }
on *:text:!forums:#: { msg $chan http://techworld.co.nr/forums }

on *:text:!email:#: { msg $chan kidgurucenter@gmail.com }
on *:text:!home:#: { msg $chan Japan }
on *:text:!writer:#: { msg $chan http://www.tech-world.co.nr/Files/blogaplication.pdf }

on *:text:what is blog:#: { msg $chan http://kidguru-techworld.blogspot.com/ }
on *:text:what is blog?:#: { msg $chan http://kidguru-techworld.blogspot.com/ }
on *:text:!blog?:#: { msg $chan http://kidguru-techworld.blogspot.com/ }
on *:text:!youtube:#: { msg $chan http://youtube.com/lakercoolman }
Posted By: Sh4d0w191

Re: Bot Double Posts - 13/04/08 06:07 PM

This happens to me sometimes, try and restart the mIRC client your bot is using, the issue should then be resolved wink

-Shadow

EDIT:

Tip of the day:

Code:
on *:text:!forum:#: { msg $chan http://techworld.co.nr/forums }
on *:text:!forums:#: { msg $chan http://techworld.co.nr/forums }


can be replaced with:

Code:
on *:text:!forum*:#: { msg $chan http://techworld.co.nr/forums }


Do that throughout your script and you can probably half the size wink
Posted By: wee493

Re: Bot Double Posts - 13/04/08 06:20 PM

Thank you + Thanks for the Tip
Posted By: Sh4d0w191

Re: Bot Double Posts - 13/04/08 07:05 PM

np, let me know if that resolves the issue smile
Posted By: Riamus2

Re: Bot Double Posts - 14/04/08 01:05 AM

Code:
on *:text:what is blog:#: { msg $chan http://kidguru-techworld.blogspot.com/ }
on *:text:what is blog?:#: { msg $chan http://kidguru-techworld.blogspot.com/ }


That second line isn't really what you think it is. The ? acts as a wildcard (for a single character) and can be anything... not just a question mark. As was mentioned, remove one and just use * and you'll be fine.
© 2019 mIRC Discussion Forums