Jump to content
SubSpace Forum Network

Witchie

Member
  • Posts

    5
  • Joined

  • Last visited

Witchie's Achievements

Newbie

Newbie (1/14)

  1. well i do want to help but i cant code at all (just the basic stuff xD)
  2. my english isnt !@#$%^&*, but im dutch so i cant explain it realy well.. (i think that is the problem)... LOL
  3. not to hard if you think about it. strstr() is used if it needs to check if a whole line is whats between the (): the message is: !@#$%^&* if the code is: strstr("!@#$%^&*", #); sendPublic("you said !@#$%^&*"); it reply's with you said !@#$%^&* if the message is "!@#$%^&* YOU" it doesnt awnser coz strstr only gets true if the line between the () is she same as the message it needs to listen to. if you use CMPSTART instead of strstr then CMPSTART checks if the message starts with a certain word. if the line between the () is: "!@#$%^&*" it does reply with "you said !@#$%^&*"
  4. SOS strstr() is: if the whole message is whats between the () then do ... not: if a part of the message is:
  5. ok i got a question which isnt discribed anywhere... you got the CMPSTART part: if (CMPSTART("<piece of the mess> ", msg)) that reads if the message starts with a certain part. is there also a tag for the end of the message or a part from the sentence. for instance if i say: Witchie NL> your mother is !@#$%^&*ing ugly you have something like: if (CMPPART("mother ", msg)) it reply's with: yeah your mother is that to!
×
×
  • Create New...