Author | Message | Time |
---|---|---|
hismajesty | I'm not sure how good that subject title was, oh well. :P This is a general VB question but the example (and question) arises from a bot development issue. I have my sendpacket sub that has support for 8 protocols, and also takes an argument determing the winsock and packet to send. Right now I have an enumeration with about 82 packets in it (I did this because of a laziness issue - I didn't want to type the packet and liked having a list appear), they're all BNCS but I want to have an enumeration for other protocols such as BNLS and have a list of those packets. Would it be possible to have the third argument (packet id) show a list of packets based on the protocol seleceted in the first argument? Edit: Example: [code]SendPacket(BNCS, wSocket, SID_PING)[/code] would only show a list of BNCS packets when I got to typing in SID_PING, and the same for other protocols. TIA | July 16, 2004, 9:47 PM |
Maddox | No. | July 17, 2004, 6:05 AM |
hismajesty | [quote author=Maddox link=board=31;threadid=7733;start=0#msg70920 date=1090044341] No. [/quote] Darn. I didn't think so, thanks for confirming. | July 17, 2004, 3:19 PM |