The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
While check Function
Author Message
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #3
RE: While check Function
But is not a endless loop, the loop is until find a number that aren't in the tag...
You have any idea to work?,

This is the memory of NPC that call the numbers of a Bingo
Code:
[ITEMDEF i_Memory_Locutando]
ID=i_memory
TYPE=t_eq_script
NAME=Chamador de numeros

ON=@Create
ATTR attr_decay

ON=@Timer
REF1=<TAG.NPC>
If (<REF1.TAG0.CHAMANDO>)
  TAG.LAST=<R1,75>
   If (<EVAL <TAG0.CHAMADASTOTAL>> == 75)
    REF1.SAY @,1,1 Finish!
    REF1.TAG.CHAMANDO=0
    REMOVE
    Return 1
   Endif
   While (STRMATCH(*<TAG.LAST>*,<TAG.CHAMADAS>))
    TAG.LAST=<R1,75>
   ENDWHILE
  TAG.CHAMADAS=<TAG.CHAMADAS> <TAG.LAST>
  TAG.CHAMADASTOTAL +=1
  REF1.SAY @,1,1 Ball: <EVAL <TAG.LAST>>
Else
  REMOVE
  RETURN 1
ENDIF
TIMER=1
RETURN 1
(This post was last modified: 11-29-2012 12:00 PM by Staff_Stanic.)
11-29-2012 11:51 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
While check Function - Staff_Stanic - 11-29-2012, 11:40 AM
RE: While check Function - Mordaunt - 11-29-2012, 11:44 AM
RE: While check Function - Staff_Stanic - 11-29-2012 11:51 AM
RE: While check Function - RanXerox - 11-30-2012, 06:05 AM
RE: While check Function - Staff_Stanic - 12-01-2012, 12:14 AM
RE: While check Function - Shaklaban - 12-01-2012, 12:37 AM
RE: While check Function - RanXerox - 12-01-2012, 03:35 AM
RE: While check Function - Staff_Stanic - 12-01-2012, 08:01 AM
RE: While check Function - Staff_Stanic - 12-15-2012, 12:18 AM
RE: While check Function - darksun84 - 12-15-2012, 12:36 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)