mIRC Home    About    Download    Register    News    Help

Print Thread
Bot Double Posts #197761 13/04/08 05:56 PM
Joined: Apr 2008
Posts: 4
W
wee493 Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Apr 2008
Posts: 4
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 }

Last edited by wee493; 13/04/08 05:57 PM.
Re: Bot Double Posts [Re: wee493] #197764 13/04/08 06:07 PM
Joined: Jul 2007
Posts: 32
S
Sh4d0w191 Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 32
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

Last edited by Sh4d0w191; 13/04/08 06:10 PM.
Re: Bot Double Posts [Re: Sh4d0w191] #197765 13/04/08 06:20 PM
Joined: Apr 2008
Posts: 4
W
wee493 Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Apr 2008
Posts: 4
Thank you + Thanks for the Tip

Re: Bot Double Posts [Re: wee493] #197767 13/04/08 07:05 PM
Joined: Jul 2007
Posts: 32
S
Sh4d0w191 Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 32
np, let me know if that resolves the issue smile

Re: Bot Double Posts [Re: wee493] #197797 14/04/08 01:05 AM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
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.


Invision Support
#Invision on irc.irchighway.net