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.

HTTP Post

Old posts that have not been replied to for several years.
Locked
A
Arnaudg

Post by Arnaudg »

Thanks if you can respond to me :smile:

I want to do this:
if I type: !send <number> <message>, it post to a web page: http://www.arnaudworlds.com/index.php?n ... ge=message

I can't create this with http.tcl, I'm stupid :sad:

Thanks
g
greyhound
Voice
Posts: 12
Joined: Sat Feb 02, 2002 8:00 pm
Location: Sweden
Contact:

Post by greyhound »

This can work...

Code: Select all

package require http

bind pub - !send pub_send

proc pub_send {nick host handle chan arg} {
  set nr [lindex $arg 0]
  set msg [lindex $arg 1]
  set url "http://www.arnaudworlds.com/index.php?num=$nr&message=$msg"
  ::http::geturl "$url"
}
Locked