This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

/amsg script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
R
R-WaT
Halfop
Posts: 79
Joined: Fri Jan 06, 2006 7:45 pm

/amsg script

Post by R-WaT »

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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

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: Select all

 tag when posting logs, code
R
R-WaT
Halfop
Posts: 79
Joined: Fri Jan 06, 2006 7:45 pm

Post by R-WaT »

imma test it out right now
R
R-WaT
Halfop
Posts: 79
Joined: Fri Jan 06, 2006 7:45 pm

Post by R-WaT »

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 :P
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Code: Select all

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
Post Reply