| Blockland Forums > Modification Help |
| Help with Chatbot |
| << < (6/6) |
| Blocki:
New problem: I want that the bot can copy someone's chat, but it doesn't work! How do I set a variable?? Can someone with more knowledge fix it? |
| otto-san:
--- Quote from: Blocki on March 22, 2012, 03:59:16 PM ---New problem: I want that the bot can copy someone's chat, but it doesn't work! How do I set a variable?? Can someone with more knowledge fix it? --- End quote --- you have to have some way to set %copyname, adding it as a parameter won't do anything in this case because that parameter will never be used. also don't do case %msg:, just have an if statement before the switch or something. |
| Blocki:
--- Quote from: otto-san on March 22, 2012, 04:06:42 PM ---you have to have some way to set %copyname, adding it as a parameter won't do anything in this case because that parameter will never be used. --- End quote --- So what do I do instead? --- Quote from: otto-san on March 22, 2012, 04:06:42 PM ---also don't do case %msg:, just have an if statement before the switch or something. --- End quote --- Um... What... Where? |
| Blocki:
Fixed. Had to define $CopyName = ""; at the top... lol |
| Navigation |
| Message Index |
| Previous page |