| View previous topic :: View next topic |
| Author |
Message |
Branden Halfop
Joined: 04 Aug 2007 Posts: 61
|
Posted: Sat Aug 04, 2007 9:43 pm Post subject: Varibles ((SOLVED)) |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Aug 04, 2007 10:26 pm Post subject: |
|
|
| That would be the var $nick |
|
| Back to top |
|
 |
Branden Halfop
Joined: 04 Aug 2007 Posts: 61
|
Posted: Sat Aug 04, 2007 10:43 pm Post subject: |
|
|
| 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 |
|
 |
tsukeh Voice
Joined: 20 Jan 2005 Posts: 31
|
Posted: Sun Aug 05, 2007 3:39 am Post subject: |
|
|
| That would be the var $text |
|
| Back to top |
|
 |
Branden Halfop
Joined: 04 Aug 2007 Posts: 61
|
Posted: Sun Aug 05, 2007 11:40 am Post subject: |
|
|
| Thank you very much! |
|
| Back to top |
|
 |
|