| View previous topic :: View next topic |
| Author |
Message |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Thu Jan 19, 2006 9:21 pm Post subject: /amsg script |
|
|
I need a script to where I type "mouseskills amsg text here" (mouseskills = bot name) or even PM the bot, or even a .amsg text command.
I tried looking it up on "The Quickening" script, but it didnt have it.
Anyone know of a script like this or can make one for me?
Thanks |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jan 20, 2006 2:49 am Post subject: |
|
|
| Code: |
bind pub m $nick foo
proc foo {n u h c t} {
foreach c [channels] {puthelp "privmsg $c :$t"}
}
|
_________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Sat Jan 21, 2006 12:44 am Post subject: |
|
|
| imma test it out right now |
|
| Back to top |
|
 |
R-WaT Halfop
Joined: 06 Jan 2006 Posts: 79
|
Posted: Sat Jan 21, 2006 12:50 am Post subject: |
|
|
worked..
but think you can make so it's "mouseskills amsg texthere" instead of "mouseskills texthere" but its fine how it is.. lol, its slow on the amsg also  |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Sat Jan 21, 2006 3:16 am Post subject: |
|
|
| Code: | bind pub m $nick foo
proc foo {n u h c t} {
if {[string equal -nocase "amsg" [lindex [split $t] 0]]} {
putquick "PRIVMSG [join [channels] ","] :[lrange [split $t] 1 end]"
}
} |
this is assuming your network allows this kind of msg |
|
| Back to top |
|
 |
|