vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB-DOS turning quick reply into command prompt (https://vborg.vbsupport.ru/showthread.php?t=58124)

Ihsahn 10-24-2003 11:06 AM

OMG ... that's an awesome idea zajako ... a very clever one ... congratz !!

NuclioN 10-24-2003 01:12 PM

--edit--

How does the !help command in your forum work and the !gold Zajako? I mean if i see how 1 command works i can make a lot of faq commands.

zajako 10-24-2003 07:57 PM

!help and !gold simply have !help as the command then the reply being the responce. Just make sure the command field is set to 0 and it replys back with the message.

MrNase 10-24-2003 08:52 PM

very nice :)

please port that to vB3 :)

NuclioN 10-24-2003 09:29 PM

Quote:

Originally Posted by zajako
!help and !gold simply have !help as the command then the reply being the responce. Just make sure the command field is set to 0 and it replys back with the message.

Forgive me but i don't understand this. Can you give an example of such a querie as in !help?

Gio Takahashi 10-24-2003 09:35 PM

here is what I used, it is actually very simple ,if you have Phpmyadmin do this -

In Keyword put in !help

In Reply, put in whatever you want the bot to say, thats it, the reply box is designed for what the bot should say and search and runs any script in the reply box, and make sure you set command to 0 it should be below the box. If that doesn't help, I'll show you the attachment on how I did it. Its very easy.

zajako 10-24-2003 11:03 PM

PHP Code:

INSERT INTO `comp_keywordsVALUES (null'!help''Use the keywords to the right of the questions, to recive answers to them.\r\nobtaining gold > !gold<br>\r\nim new where do i post > !imnew<br>\r\nwhat is the gold for > !gold<br>\r\nhow do i make a character > !character<br>\r\n'0); 

an example query :)

NuclioN 10-24-2003 11:24 PM

Tnx :) I think this will help me a lot.

Koutaru 10-24-2003 11:51 PM

Great hack :) I'm probably going to make it turn on/off in the admin cp instead of the php file when i install this hack.

zajako 10-25-2003 12:39 AM

cool. you should share that with the users in this thread, ill link to your file in the first post if you do.


All times are GMT. The time now is 07:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01027 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete