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.

PRIVMSG,Query,Msg all dump into channel

Help for those learning Tcl or writing their own scripts.
Post Reply
g
ghostscript
Voice
Posts: 13
Joined: Wed Feb 08, 2006 4:08 pm
Location: unknown
Contact:

PRIVMSG,Query,Msg all dump into channel

Post by ghostscript »

I am running Eggdrop 1.4 and am trying to design a simple script that when a person executes "!iMac 543456" or another number following iMac they bot will open a new window to the client with the response "$nick requests consult for #" where # represents the user input. Everything is working the way it is suppose to except for one thing - it will not open a new window - it either PRIVMSG to the chan (I know no one else can see it, i need a new window) or the same will happen with the Msg and Query commands. Any help is appreciated.

Code: Select all

[bind pub - !imac pub_imac

proc pub_imac {nick mask hand channel args} {
      putquick "PRIVMSG $channel :$nick requests consult for $args"
      putquick "PRIVMSG $nick :\001QUERY $nick requests consult"
         }
                      
set channel #mac_tier2]
If possible please also e-mail reply to ghost_script@mac.com Thanks you guys
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

putquick "privmsg $nick :bla bla"
is enough to open a query.
g
ghostscript
Voice
Posts: 13
Joined: Wed Feb 08, 2006 4:08 pm
Location: unknown
Contact:

Post by ghostscript »

Thanks! It seemed to be a specific client error, For any furture people who have issues, make sure they aren't using "ircle" - Thanks again
Post Reply