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.

Changing $my-ip

Help for those learning Tcl or writing their own scripts.
Post Reply
w
wiz(andrew)
Voice
Posts: 5
Joined: Fri Sep 01, 2006 7:47 am

Changing $my-ip

Post by wiz(andrew) »

HI

I am trying to make a command that shows the bots "ip" $my-ip

Code: Select all

bind dcc nmo "wupip" wizipupdate
proc wizipupdate {hand idx arg} {
global my-ip
putdcc $idx "MyIp:  $my-ip
}
they problem is the bot dont see "-" & i get this output

Code: Select all

cl error [wizipupdate]: can't read "my": no such variable
How can i fix it???
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Use ${my-ip} and stop posting same topic in every category!
Que?
w
wiz(andrew)
Voice
Posts: 5
Joined: Fri Sep 01, 2006 7:47 am

Post by wiz(andrew) »

ty

P.S.
i posted it just here (& then the broweser stuck & dubplicated it o.o
any way i deleted them sorry)
Post Reply