Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: bs_weather  (Read 8821 times)

0 Members and 1 Guest are viewing this topic.

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
bs_weather
« on: December 17, 2006, 09:37:56 PM »

can anyone try to make a bs_weather module for the botserv services? if u can tell me
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: December 17, 2006, 09:44:01 PM »

First of all what does it do?

Yeah someone can create a module called bs_weather but it wouldnt do anything because you havnt said what you want it to do.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #2 on: December 17, 2006, 10:35:37 PM »

oh, yea, i want it to do like any kind of weather from all over the world, the command will be /msg botserv help weather  and here's the options list of what it would have.

Syntax: help Weather Command

Sets the Weather Options.

Weather On  This is where you can turn off or on the weather command for the room you request.

Weather Set  You can set what you want in the weather when the command is said.


Syntax: Set Weather Option

Weather Temp    You can set if you want the weather to have a temp. in the text.

Weather Humidity  You can set if you want the weather to have a Humidity in the text.

Weather Alert    You can set if you want the weather to have a Alert in the text. This will be already on, it will be better if you have it on.



Thats kinda it, if someone thinks they want to put another one, your more then welcome to.
Logged

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #3 on: December 18, 2006, 02:21:27 PM »

And i assume you want it to be reporting info into the channel as well, with something like !weather... and of course the user giving that command would have to enter a region of which the weather should be shown.... (no BigBen didn't specify this, but i assume it has to be useful ;))
Logged

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #4 on: December 18, 2006, 09:46:19 PM »

yea, it will need to report it in the channel the command was given, like for Ex. !weather 5555   or !weather -city- -state-     they can respond with both commands.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #5 on: December 18, 2006, 11:45:45 PM »

seems to me more like someting a seperate bot like an eggdrop should be handling, not services...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #6 on: December 19, 2006, 01:36:04 AM »

well, u can try to make it, and i can test it, and see.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #7 on: December 19, 2006, 01:11:33 PM »

just for the record, this allready exists for eggdrops...

and no i don't plan on making anything like this for anope, nothing services should be doin imho....
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #8 on: December 19, 2006, 01:20:59 PM »

I have to say i agree with Viper. The features Anope provides via its BotServ bots have never really been the sort of thing services should be handling. But Anope does provide these features out of goodwill and for its own benefit.

So you should be greatful Anope has BotServ and provides you with bots you can use in your channel.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #9 on: December 20, 2006, 02:44:23 AM »

what ever, i just think it's cool, but may be can someone make a update serv
that IRC OPs can set to what was updated, and reg. users can type /msg UpdateServ new    and for the part with the IRC OPS to set, can be /msg UpdateServ set -new update-   i think that's kinda it, oh, and name the module
ircd_updateserv.dll

and i dont know if this is needed for a ircd module.

# USNick [REQUIRED]
# The nickname of the bot.

USNick "UpdateServ"

# USIdent [REQUIRED]
# The identd of the bot.

USIdent "US"

# USHost [OPTIONAL]
# The vhost or hostmask of the bot.

USHost "MyNet.Update.News.Serv"

# uSReal [REQUIRED]
# The realname of the Bot.

USReal "/msg UpdateServ HELP"

# GSModes [OPTIONAL]
# Modes the bot will have.

USModes "+oSqB"

# USQuitMsg [OPTIONAL]
# The bot quit msg when the module gets unloaded.

USQuitMsg "Chasing Ghosts!"

# GSAutoJoin [OPTIONAL]
# Define this if you want the bot to automatically
# join your services log channel.

US AutoJoin

[Edited on 20-12-2006 by BigBen]
Logged
Pages: [1]   Go Up