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 

Varibles ((SOLVED))

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Branden
Halfop


Joined: 04 Aug 2007
Posts: 61

PostPosted: Sat Aug 04, 2007 9:43 pm    Post subject: Varibles ((SOLVED)) Reply with quote

Hi there,


I'm looking to make a script that will be a command exacted in a chat/channel.


I'm stuck on the part that when I say: "^Hop <user>"

How do I define user?


Here is what I've got so far.

Code:


bind pub l ^HalfOp hop

proc hop {nick uhost hand chan text} {
  putserv "MODE $chan +h <????>"
  return 1
}






Please help,
Thanks,
Branden


Last edited by Branden on Sun Aug 05, 2007 11:40 am; edited 1 time in total
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Aug 04, 2007 10:26 pm    Post subject: Reply with quote

That would be the var $nick
Back to top
View user's profile Send private message
Branden
Halfop


Joined: 04 Aug 2007
Posts: 61

PostPosted: Sat Aug 04, 2007 10:43 pm    Post subject: Reply with quote

I do not want the bot to do the mode on me. Instead I want it to do it on the nick I say.
Back to top
View user's profile Send private message
tsukeh
Voice


Joined: 20 Jan 2005
Posts: 31

PostPosted: Sun Aug 05, 2007 3:39 am    Post subject: Reply with quote

That would be the var $text
Back to top
View user's profile Send private message
Branden
Halfop


Joined: 04 Aug 2007
Posts: 61

PostPosted: Sun Aug 05, 2007 11:40 am    Post subject: Reply with quote

Thank you very much!
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 -> Scripting Help 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