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 

request umode tcl

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


Joined: 28 Jan 2007
Posts: 3

PostPosted: Sun Jan 28, 2007 4:51 am    Post subject: request umode tcl Reply with quote

i want tcl that when i type !umode <mode> in channel.. the bot will automatically umode itself.

thanks in advance Embarassed
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Jan 28, 2007 8:09 am    Post subject: Reply with quote

Code:
bind pub n !umode umode:bot

proc umode:bot {nick uhost hand chan arg} {
 puthelp "mode $::botnick [lindex [split $arg] 0]"
}

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
bluemasterz
Voice


Joined: 28 Jan 2007
Posts: 3

PostPosted: Sun Jan 28, 2007 9:42 am    Post subject: Reply with quote

sorry.. but does the tcl for public command or just for some nick ?

i try to make it !umode -Mmepi+L but nothing happens

Embarassed
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Jan 28, 2007 10:11 am    Post subject: Reply with quote

it's a public command, and only global owners can use it (i.e. you'll have to have +n global flag on the bot).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
bluemasterz
Voice


Joined: 28 Jan 2007
Posts: 3

PostPosted: Fri Feb 02, 2007 10:56 pm    Post subject: Reply with quote

can i make to public ? everyone can type !umode ?
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Sun Feb 04, 2007 4:44 am    Post subject: Reply with quote

bluemasterz wrote:
can i make to public ? everyone can type !umode ?


replace
Code:
bind pub n !umode umode:bot


with
Code:
bind pub - !umode umode:bot
Back to top
View user's profile Send private message
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