Jump to content

Recommended Posts

Posted

heelo and good evening

i have a litle problem . i am building an Irc bot but i want to get a litle peace of big string

my bot should anwser the question of the user just by using private message's

so it reveices

:user!user@127.0.0.1 PRIVMSG botname :message

now my problem is that i only want the username in a variable , how can i do this ? i have been trying alot with stringinstr stringsplit etc etc but i dont have a clue what i do wrong

Posted (edited)

volledige commando is :Xantios!Xantios@127.0.0.1 PRIVMSG Xantibot :hoi

Je kunt ook StringSplit(volledige commando, "!") gebruiken

en dan de eerste variable samen met StringTrimLeft(commando,1)

:whistle:

oke bedankt :-) ik ga het meteen proberen :)

translation: thnx dude im going to try it inmidiatly (dificult word ^^)

edit: YES IT WORKS :) Thank you so very much !!!!!!!!!

Edited by {NL}--Xantios---
Posted

Try something like StringLeft or StringMed. You should really post the script to let us know what you're doing wrong,.

What in the world is StringMed? Maybe something like a String Doctor who fixes broken strings?

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Posted

Hi,

if you 've got fix start and end points. I would use StringBetween. (It is an udf not included)

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...