Author Topic: request script  (Read 11539 times)

clEEn

  • Newbie
  • *
  • Posts: 21
Re: request script
« Reply #15 on: October 05, 2008, 10:58:18 AM »
Code: [Select]
[19:57]  ->> ERROR:modScriptFunctions:invite.ice:Function:LoadScriptFile:End Function Error Number:1032 : Invalid character

juozas

  • Newbie
  • *
  • Posts: 13
Re: request script
« Reply #16 on: October 05, 2008, 11:07:56 AM »
well i fixed the code above (edited). recopy it (invalid char replaced)

clEEn

  • Newbie
  • *
  • Posts: 21
Re: request script
« Reply #17 on: October 05, 2008, 11:42:52 AM »
still got the error :S btw, thx for all help mate!

juozas

  • Newbie
  • *
  • Posts: 13
Re: request script
« Reply #18 on: October 05, 2008, 11:55:16 AM »
well i don't get why, when i copy code to icechat and save i don't get any error. Try to look to console to get the line where error is

clEEn

  • Newbie
  • *
  • Posts: 21
Re: request script
« Reply #19 on: October 05, 2008, 03:00:29 PM »
I dont get any error, but the bot dont give op to the invited person.. :?

juozas

  • Newbie
  • *
  • Posts: 13
Re: request script
« Reply #20 on: October 06, 2008, 07:21:27 AM »
Well
1. this checks if your nick is op in that channel.
2. your nick must match the nick defined in script (case sensitive) including brackets
3. this script may not work on away mode
4. you must be op on that channel you are inviting
5. as i said only keyboard input works. Try twice or more to invite you must see some message.

To get whith part is not working insert
Code: [Select]
SendCommand "/echo Debug:"& Variable, ServerNumber
Replace text Variable with testing var name or remove & Variable part,

you may need to add
Code: [Select]
ServerNumber = GetIdentifier("$currentservernumber")if neaded on function beginning

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: request script
« Reply #21 on: October 07, 2008, 02:47:41 PM »
Should be using the mynick = GetIdentifier("$me") instead, not his nickname directly, like you had it in the first place.
The IceChat God

clEEn

  • Newbie
  • *
  • Posts: 21
Re: request script
« Reply #22 on: October 13, 2008, 06:38:44 AM »
working now! thx all  :-)