mIRC Home    About    Download    Register    News    Help

Print Thread
#195445 25/02/08 01:56 AM
Joined: Feb 2008
Posts: 4
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 4
Hey, I am Supermancav, a worker for KSA Shoppes, a Runescape based company. I am currently looking for a basic News Script/Bot that I can put on our Servers mIRC, I am looking for a Script/Bot that the news can be manually entered into instead of getting it from a site. If anyone knows of a Script/Bot like this or anyone who wouldn't mind making a basic one for me please let me know. This is the current Script that I tried using but I could not get it to work, if you can figure out how to get it to work please let me know.

Code:
on *:TEXT:`news*:#:{
  msg $chan 9[14 $+ $nick $+ 3@14 $+ $network 9~]14 Current News:
  play # news.txt
}

on *:TEXT:`n add*:#:{
  inc %news1 1
  write news.txt %news1 $+ )  $3- (Added By; $nick @ $time(mm/dd/yyyy dddd) $+ $chr(41)
  msg $chan 9[14News Added9]
}

on *:TEXT:`n del*:#:{
  set %del $3
  write -ds  $+ %del news.txt
  msg $chan 9[14News deleted9]
}


Thank You
-Supermancav, KSA Employee

Last edited by Supermancav; 25/02/08 02:00 AM.

I hate EVERYONE


I AM..... GOD
Joined: Jan 2008
Posts: 44
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
Umm i made a little script for you it has basically the same charictaristics.


You just type !addnews (news Heres)
- Also no need for the delete bit as with this one you just overwright it

The second part of the script is Just anybody can type !News and It Will come up with the news, i have added that time date thing aswell for you.
Any problems or any addons you need just reply back again and ill be happy to do it for you.

Jake

Code:
on *:text:!addnews:#BotTest:{ 
  if ($nick isop $chan) {
    set %news $2-
    msg $chan The Current News Has Now Been Updated, (Updated By: $nick @ $time(mm/dd/yyyy dddd) ) 
  }
}

on *:text:!News:#BotTest:{ 
msg $chan The Current News is: %News ( Added By: $nick  $time(mm/dd/yyyy dddd) ) 
}

Update

Last edited by jakerandall; 25/02/08 03:14 AM.

#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!
Joined: Feb 2008
Posts: 4
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 4
I can't get it working, would you mind coming to my channel and helping me?

the server is irc.ksafusion.com:6667 and the channel is #BotTest


I hate EVERYONE


I AM..... GOD
Joined: Jan 2008
Posts: 44
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
im sorry if you would like help you have to come to quakenet

uk.quakenet.org
6667-6669

and join the channel #plesh2 if you would like help


#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!
Joined: Feb 2008
Posts: 4
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 4
Thank You Jake, the Script is perfect.


I hate EVERYONE


I AM..... GOD
Joined: Jan 2008
Posts: 44
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
Code:
on *:TEXT:!addnews &:#:{
  if ($nick isop $chan) {
    set %news $2-
    msg $chan The Current News Has Now Been Updated, (Updated By: $nick @ $time(mm/dd/yyyy dddd) ) 
  }
}

on *:text:!News:#plesh2:{ 
  msg $chan The Current News is: %News ( Added By: $nick  $time(mm/dd/yyyy dddd) ) 
}


#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!

Link Copied to Clipboard