| View previous topic :: View next topic |
| Author |
Message |
squire Voice
Joined: 22 Sep 2005 Posts: 2
|
Posted: Thu Sep 22, 2005 4:38 am Post subject: How to make command space command |
|
|
hi i was wondering how you can make a bind like this.
e.g ce op <nick>
ce = bot shortnick "Cepheus"
so how does one put a space inbetween the commands |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Thu Sep 22, 2005 8:15 am Post subject: |
|
|
looking for
| Code: | | bind pubm - "% ce op *" proc |
or
| Code: | bind pub - ce procedur
proc procedur {n u h c a} {
if {[lindex [split $a] 0]=="op"}{
...
}
} |
? _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
squire Voice
Joined: 22 Sep 2005 Posts: 2
|
Posted: Thu Sep 22, 2005 11:26 pm Post subject: |
|
|
how about a set statement and have like $cc.
e.g set $cc "ce"
bind pubm - $cc
hmmm i dont know |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
|