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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
franko
- Voice
- Posts: 4
- Joined: Sun Jul 26, 2009 1:37 pm
Post
by franko »
Hi...
Today i got another problem..
I want to send an variable to a URL
My script:
Code: Select all
package require http
bind pub - !team fp:teams
proc fp:teams {nick uhost hand chan text} {
set url "http://website.com/team.php?team="
html $url
}
I want to use !team NAME to get this URL ->
http://website.com/team.php?team=NAME
The PHP file includes the connection part to IRC.
I just wanna open this file with trigger.
lg
-
tomekk
- Master
- Posts: 255
- Joined: Fri Nov 28, 2008 11:35 am
- Location: Oswiecim / Poland
-
Contact:
Post
by tomekk »
-
franko
- Voice
- Posts: 4
- Joined: Sun Jul 26, 2009 1:37 pm
Post
by franko »
I dont get a clean query
Just get the msg "no such team" :/
-
TCL_no_TK
- Owner
- Posts: 509
- Joined: Fri Aug 25, 2006 7:05 pm
- Location: England, Yorkshire
Post
by TCL_no_TK »
have you used anything to select the team? like
Code: Select all
set team [lindex [split $text] 0]
set url "http://website.com/team.php?team=$team"
...(rest of the code)