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 

/amsg script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Thu Jan 19, 2006 9:21 pm    Post subject: /amsg script Reply with quote

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
View user's profile Send private message AIM Address
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jan 20, 2006 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Sat Jan 21, 2006 12:44 am    Post subject: Reply with quote

imma test it out right now
Back to top
View user's profile Send private message AIM Address
R-WaT
Halfop


Joined: 06 Jan 2006
Posts: 79

PostPosted: Sat Jan 21, 2006 12:50 am    Post subject: Reply with quote

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 Razz
Back to top
View user's profile Send private message AIM Address
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Sat Jan 21, 2006 3:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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