| View previous topic :: View next topic |
| Author |
Message |
wiz(andrew) Voice
Joined: 01 Sep 2006 Posts: 5
|
Posted: Sat Sep 09, 2006 1:48 am Post subject: Changing $my-ip |
|
|
HI
I am trying to make a command that shows the bots "ip" $my-ip
| Code: | 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: | | cl error [wizipupdate]: can't read "my": no such variable |
How can i fix it??? |
|
| Back to top |
|
 |
KrzychuG Master

Joined: 16 Aug 2003 Posts: 306 Location: Torun, Poland
|
Posted: Sat Sep 09, 2006 2:14 am Post subject: |
|
|
Use ${my-ip} and stop posting same topic in every category! _________________ Que? |
|
| Back to top |
|
 |
wiz(andrew) Voice
Joined: 01 Sep 2006 Posts: 5
|
Posted: Sat Sep 09, 2006 2:36 am Post subject: |
|
|
ty
P.S.
i posted it just here (& then the broweser stuck & dubplicated it o.o
any way i deleted them sorry) |
|
| Back to top |
|
 |
|