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.

How can i start a programm

Old posts that have not been replied to for several years.
Locked
m
minotaur
Voice
Posts: 19
Joined: Sun Jul 06, 2003 8:36 pm

How can i start a programm

Post by minotaur »

proc { chan type } {
puthelp "PRIVMSG $chan :$type"
}

now in another program i want to start the script with the 2 variables chan und type. But how can i execute this program. With bind i know it but how in other programs?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

Code: Select all

proc <procname> { chan type } { 
  puthelp "PRIVMSG $chan :$type" 
} 
now in another procedure just use

<procname> arg1 arg2
photon?
Locked