| View previous topic :: View next topic |
| Author |
Message |
voodoo Voice
Joined: 09 Apr 2006 Posts: 1
|
Posted: Sun Apr 09, 2006 2:56 pm Post subject: Passing variables into imdb script? |
|
|
I have one of the imdb scripts from this site working fine on my eggdrop.
What i want to do is pass the name of a movie from a variable from another proc to the imdb script and have it use this movie.
How can i achieve this? Im pretty new at tcl scripting but can pick things up pretty quick so where can i look for some help with this?
Which method should i use to do this?
To elaborate:
I have variable1 within procedure1 = with the value of "scream" (for example)
How can i pass this to the !imdb command/script?
Thanks
voo |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Apr 10, 2006 4:08 am Post subject: |
|
|
by examining the imdb script and integrating your proc within it _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Doa Voice
Joined: 19 Nov 2005 Posts: 5 Location: Oostende/Belgium
|
Posted: Wed Apr 12, 2006 2:44 pm Post subject: |
|
|
make it global
for example:
| Code: | proc blaat {n u h a} {
global pom
set pom "$n $a"
}
proc toem {} {
global pom
puts $pom
putlog "$pom"
}
|
|
|
| Back to top |
|
 |
|