egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

version

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
smash
Halfop


Joined: 31 Jul 2006
Posts: 45

PostPosted: Sun Nov 19, 2006 4:45 pm    Post subject: version Reply with quote

can some 1 tell me how to make,

/msg botnick version

the bot will anser putserv NOTICE $nick :bla bla bla

thanks!
Back to top
View user's profile Send private message
Justdabomb2
Voice


Joined: 29 Sep 2006
Posts: 37
Location: United States of America

PostPosted: Sun Nov 19, 2006 5:16 pm    Post subject: Reply with quote

maybe

Code:

bind msg - version show:version

proc show:version {nick host hand chan rest} {
  putserv "NOTICE $nick :bla bla bla"
}


I didn't test it or anything... just typed it up real quick... try it out.
_________________
Yeah!


Last edited by Justdabomb2 on Mon Nov 20, 2006 2:12 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
smash
Halfop


Joined: 31 Jul 2006
Posts: 45

PostPosted: Sun Nov 19, 2006 7:37 pm    Post subject: Reply with quote

thanks i tryed that but it dident work.

so i had a play with it, and changed it to this.

Code:
bind msg - version 

proc msg:version {nick uhost hand rest} {
  putserv "NOTICE $nick :bla bla bla"
}


witch now works Wink
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Nov 19, 2006 7:58 pm    Post subject: Reply with quote

smash wrote:
thanks i tryed that but it dident work.

so i had a play with it, and changed it to this.

Code:
bind msg - version 

proc msg:version {nick uhost hand rest} {
  putserv "NOTICE $nick :bla bla bla"
}


witch now works Wink

Good work. Very Happy

This is exactly why these forums exist.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Nov 19, 2006 8:01 pm    Post subject: Reply with quote

But what's funny is that what Justdabomb2 wrote was correct (except for having a 'chan' argument in the proc) and what smash wrote will never load since there are missing arguments for the bind command (proc name) Laughing
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Nov 19, 2006 8:21 pm    Post subject: Reply with quote

I should have looked closer.

I would hazard a guess a certain bot may not have been restarted? Smile

Code:
bind msg - version show:version

proc show:version {nick host hand rest} {
  putserv "NOTICE $nick :bla bla bla"
}

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Justdabomb2
Voice


Joined: 29 Sep 2006
Posts: 37
Location: United States of America

PostPosted: Mon Nov 20, 2006 2:11 am    Post subject: Reply with quote

lol, oops. I guess I am so used to just putting "chan" becuase I use that a lot when I script. Like I said, I just made it real quick. :p
_________________
Yeah!
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber